The early mirror universe: inflation, baryogenesis, nucleosynthesis and dark matter