implement code coverage reporting

`npm run-script coverage`

![istanbul output](https://f.cloud.github.com/assets/28153/2457630/c00a782e-af3b-11e3-837e-94ce4e85f8d9.png)