Adding JSHint to start cleaning up lint errors.

This initial set of rules in .jshintrc is lenient and suppresses almost all errors. Will slowly remove these and fix lint errors as they arise.