Apply JSHint to test files.

closes #2666
- Add new jshint:test task
- Fix jshint errors
Allows expressions like the `foo.bar.should.be.awesome`.