Theory of electric dipole spin resonance in quantum dots: Mean field theory with Gaussian fluctuations and beyond