Apply JSHint to test files.

closes #2666
- Add new jshint:test task
- Fix jshint errors
I think the actual issue here is that the user_id hash above is over indentend, not that the closing brace was under-indented