Add `npm run-script check`

- checks js against jshint rules
- runs tests and gathers coverage with istanbul