Add .jshintrc, correct hinting errors
Add test files to JSHint
Rigorifying config tests