Add jshint configuration.

Disable "undef" rule because unit-tests are referencing global variables
defined in test/support.js, which jshint cannot pick up.