Add code coverage

Using jscoverage and mocha-browser to instrument and generate
coverage reports in the test/coverage directory.