Add output for coverage.json and License

Hello arikon, I would also like to generate coverage.json .
So I add some code for you.
Aslo. I add a MIT license which is missing but it is declared in https://npmjs.org/package/mocha-istanbul