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.
If the db_type is postgres by default, any reason not to set a db_type in params set to postgres' default port?