Code coverage implemented, using istanbul.

Resolves issue #6.

Code coverage implemented, using istanbul. Console output will now show ...
...coverage metrics when the `--coverage` flag is set.

TODO: Generate code coverage report artifacts (HTML files).

Also, cleaned up some code to comply with JSHINT rules.