factor out npm-install-checks

This removes the following checks from install.js, which are run
during installation:

- checkEngine
- checkPlatform
- checkCycle
- checkGit
add npm-install-checks@1.0.0