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.