Add mocha programmatic function

Useful for people who already use mocha as their test runner.
Clean up code for and document new `mocha` export.
Pass through Mocha command-line options. Closes #23.
Version 1.3.0