Fix jshint errors in precommit

Fixed a number of jshint errors. These prevented me from running the default precommit.

Among the changes:
* Put globals in .jshintrc
* Remove indent, whitespace rules
  (Deprecated in jshint 2.5. Will be added later using JSCS)
* Add explicit jshint settings: laxbreak, strict, quotmark, unsued. Should be reversed later.

I'll add in jscs and other jshint settings on a later commit.