add jshint check to the tests

Warnings about the use of expressions where normally you would expect to
see assignments or function calls are suppressed due to the 42 check.
add jshint to dev dependencies
Merge pull request #43 from relekang/jshint

add jshint check to the tests