Add jshint and pre-commit hooks to run tests with jshint.
Use jshint mocha integration for jshint.