initial pass at making puppet-candlepin work for hosted environment

This is the initial round of changes needed to get hosted candlepin standing. There are more changes coming, primarily around additional configurability of candlepin.conf. I am certainly open to suggestions if there are any improvements you might suggest.
Any reason to remove the space?