Implemented a global mode.

Using the configuration parameter useGlobal (${npm.useGlobal}), no node
nor npm is installed. Instead, a globally installed instance in the path
is used. This is usefully for corporate installations.