Supersymmetric thermalization and quasi-thermal Universe: consequences for gravitinos and leptogenesis