add support for passing options to the reporter
add a done() method to the reporter API to give it a chance to clean up
asynchronously at the end of all tests
add support to the xunit reporter to optionally write to a file
Tweak error handling
Change the reporter.done() calling convention

Previously I implemented a no-op done() method in the Base reporter class.
This is a slight simplification to make the caller responsible for checking
whether the done() method exists and only call it if it does.

The main benefit is that if a reporter class is used that doesn't actually
inherit from Base but simply implements the expected API then it will still
work even after merging the change.
Use type() instead of a()
Merge branch 'reporter_options' into stable

Conflicts:
	lib/mocha.js
chmod bin/_mocha +x
Mark version as strongloop specific
Revert "Mark version as strongloop specific"

This reverts commit 339d9f92e8ba00e522746c44cbe2c527b78974cb.
Fake merge branch 'production' into 1.17.1-strongloop