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.
I see what you mean about the ports and how you have these defined. I believe if you define these in params.pp but leave them undefined, you can then use `@` syntax and define them in each of the respective database class files. If you'd like me to give it a try, let me know.