Added option to install npm via install script.

NPM is not easily available as a Debian package on Wheezy, so I need way to install it via script. This commit adds the $install_npm_from_script option to do that. By default it is false and does not change the way the module behave.
Add tests