Clean up .jshintrc files.

* sort properties by name
* remove the obsolete `regexp` property
* define the global to true
* remove the unused test/.jshintrc
Fix JSHint warnings.
Remove non-existent file from karma.conf.js.