Add option to set working directory for 'npm install'

Option overrides default of current directory, allowing 'npm install' to be run on a configurable relative path.