Add jshint

Add jshint support for PRs on Travis.
Happy to add more rules, these are just what I pulled from localForage.