Set $HOME for npm commands.
Added logic to only set $HOME on puppet 3+.
Merge pull request #59 from myplanetdigital-experimental/59-npm-set-HOME

Set $HOME for npm execs (pkgs like node-gym require)