add the ability to specify which npm mirror to fetch resources from

@lloyd, @zaach or @seanmonstar - could I get a review? This allows the user to specify an alternate NPM registry by specifying the `NPM_CONFIG_REGISTRY` environment variable. Using this with `http://registry.npmjs.eu` makes `npm install` blazing fast for the Persona repo for those of us in Europe.