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.
The problem with your suggestion is that variables are immutable in puppet. I think I found a solution that will work though.