Heroku's Node support now respects engines.npm and environment variables.

Change effective on 08 January 2015

When building a Node app, we now look for an optional npm version specified in package.json and will expose environment vars to your build.