The Detection, Characterization, and Retrieval of Terrestrial Exoplanet Atmospheres