Quasi-thermal Universe and its implications for gravitino production, baryogenesis and dark matter