Lint as part of Travis tests

This also fixes the (surprisingly) small number of lint errors.

There's no point in bundling jshint or running it using jsc or Rhino. node.js is way better at running JavaScript from the command line than the tools it replaced.