preinstall: update peerDeps before global install

Using node as a portable scripting language, install adequate versions
of our peerDependencies globally when we are installed globally
ourselves.
Merge pull request #114 from strongloop/feature/preinstall

preinstall: update peerDeps before global install