Updated to use istanbul.

Run `npm test --coverage` to generate the coverage report.
Ignore the coverage directory.