Spectral invariants, analysis of the Floer moduli spaces and geometry of the Hamiltonian diffeomorphism group