Add JSHint support.

Use `npm run lint` or `npm test` after doing `npm install`.
Fix JSHint warnings.
Change license header to use the cleaner `/* comment */`.
Add Travis CI support.