A Hubble Space Telescope Imaging Survey of Nearby Active Galactic Nuclei