Detect and warn if NPM version is in 1.x series.

Closes #2770
Confirm, I believe that we already have `semver` in the project so we should be able to use it easyish.