Analytic Theory of Correlation Energy and Spin Polarization in the 2D Electron Gas