Script/build improvements & added jshint

- Run testem locally instead of requiring a global install
- Run jshint as part of travis build (& other improvements, see the commit)