Analytic Scattering and Refraction Models for Exoplanet Transit Spectra