Set HOME=${foreman::app_root} for foreman Rails actions

We run the actions as foreman, so setting home to root is not the best
way.

Addresses the Puppet expand issue.
Merge pull request #23 from iNecas/foreman-config-env-fix

Set HOME=${foreman::app_root} for foreman Rails actions
958177-cpurl - set candlepin.conf web and api url
Merge pull request #24 from thomasmckay/958177-cpurl

958177-cpurl - set candlepin.conf web and api url