Integrate jshint into the mocha tests

The following directories contain lots of jshint problems, so they're ignored for now:
 * node_modules
 * test

Fixes #27
Merge pull request #28 from wikimedia/issue-27

Integrate jshint into the mocha tests