Add jscoverage support

To generate coverage html report:
`$ npm run coverage`
This will generate *coverage.html* in the project root. We can also reconfigure it to generate json coverage data and send it to something like [Coveralls](https://coveralls.io).

Closes #30.