The Third Catalog of Active Galactic Nuclei Detected by the Fermi Large Area Telescope