Fixes #21

Moves Mocha instance creation to after require option has been
processed to allow for use of custom Mocha UI's.
Adds tests for #21
Merge pull request #22 from itaylor/master

Fixes #21