jshint validation on autobuild

- add `jshint` `devDependencies`
- add `.jshint` and `.jshintignore` configs
- fix code to pass `jshint` tests
- add `make jshint` target
- run `jshint` on Travis CI build

/cc @scf2k @unlok @diunko @mishaberezin