Bug 980102

The original link $OPENSHIFT_REPO_DIR/../node_modules is wrong.
The one we need is $OPENSHIFT_NODEJS_DIR/node_modules, which
will be used in build() if deplist.txt is present.

There is another occurrence of 'npm install', but that happens in
$OPENSHIFT_REPO_DIR, to which we have write access.

For existing nodejs applications, we simply remove the dangling symlink.

To test, create a Node.js app, then add a module (say 'coffee-script')
to deplist.txt, add and commit this change, and push.
Bug 976921: Move cart installation to %posttrans
Moving scaled deploy into the platform
Merge pull request #2978 from ironcladlou/bz/976921

Merged by openshift-bot
Merge pull request #2974 from danmcp/master

Merged by openshift-bot
Automatic commit of package [openshift-origin-cartridge-jbossews] release [0.6.2-1].
Automatic commit of package [rubygem-openshift-origin-msg-broker-mcollective] release [1.11.2-1].
Automatic commit of package [openshift-origin-cartridge-10gen-mms-agent] release [1.25.2-1].
Automatic commit of package [openshift-origin-cartridge-cron] release [1.9.2-1].
Automatic commit of package [rubygem-openshift-origin-node] release [1.11.2-1].
Automatic commit of package [openshift-origin-cartridge-mysql] release [0.5.2-1].
Automatic commit of package [openshift-origin-cartridge-nodejs] release [1.12.2-1].
Automatic commit of package [openshift-origin-cartridge-haproxy] release [0.6.2-1].
Automatic commit of package [openshift-origin-broker-util] release [1.11.2-1].
Automatic commit of package [rubygem-openshift-origin-common] release [1.11.2-1].
Automatic commit of package [openshift-origin-cartridge-postgresql] release [0.4.2-1].
Automatic commit of package [rubygem-openshift-origin-auth-remote-user] release [1.11.2-1].
Automatic commit of package [openshift-origin-cartridge-jbossas] release [1.4.2-1].
Automatic commit of package [openshift-origin-cartridge-ruby] release [0.6.2-1].
Automatic commit of package [openshift-origin-cartridge-php] release [0.6.2-1].