Use "npm install -g" in examples

The "-g" option means the package should be installed globally, and
will there by be available in the users PATH.
Without the "-g" option the package will just be installed inside
a "node_modules" folder, with the executable inside "node_modules/.bin"
Merge pull request #1 from Tenzer/npm-install-g

Use "npm install -g" in examples