Design Rules for the Nucleation, Growth, and Encapsulation of Gold Nanoparticles with Applications to Cancer Imaging