CB-6986 make npm run jshint work without a global jshint

Add jshint to dev-deps in package.json and use it instead of relying on a
global jshint.

github: close #37