Apply JSHint to test files.

closes #2666
- Add new jshint:test task
- Fix jshint errors
ditto re: single quotes