Add jshint to `npm test` to keep code clean.

Added two jshint annotations to allow `== null` in the places where we
explicitly want to test against null and undefined.
Merge pull request #214 from cscott/jshint

Add jshint to `npm test` to keep code clean.