Fix npm config permissions

Changed script to install npm packages under vagrant user, to avoid permission issues as highlighted here: http://stackoverflow.com/questions/12231846/npm-will-not-install-express. I've had permission issues with ~/.npm in the past, which prompted me to look into this.