Various minor clean up

* main: Fix typo in comment

* package: Removed redundant "node_modules/.bin" prefix.
  npm script commands are executed in a subshell with that
  directory in the execution path:
  https://npmjs.org/doc/scripts.html#ENVIRONMENT
  So even if the shell running `npm test` didn't install have it
  globally, this will work fine.

* Add missing newline at EOF of various files.

* Consistently use single quotes (main js file does so mostly
  except for one line).

* Consistently name test suites lowercase (in case of 'defer' and
  'clear', like the method names they test).
Set up JSHint and fix outstanding violations

Added a jshintrc file resembling as close as what the source
code did already. The only violation was that main code used
single quotes and tests double quotes. Shall we go for single
quotes, then?
Merge pull request #31 from Krinkle/cleanup

Minor clean up and setting up JSHint