Add jshint configuration.

Enable laxcomma to support the style of using single var keyword for all
require statements.

Fix a leaked global variable in test/server.test.js.