Use jshint

Enforce the indentation level and quoting style using jshint. Adds a jshint task to `grunt test` and `grunt dist`.