Apply JSHint to test files.

closes #2666
- Add new jshint:test task
- Fix jshint errors
wuzzat? o.O  ... maybe i should rtfm, but hey