Respect err.showDiff, add Base reporter test (close #810)
only write to stdout in reporters
#888 Fix for --watch+only() issue
add support for reporter options
if a reporter has a .done method, call it before exiting
xunit reporter support for optionally writing to a file
added empty object to errorJSON() call to catch when no error is present
Merge pull request #1324 from ben-bradley/json-reporter-fix

added empty object to errorJSON() call to catch when no error is present

Introduced in #1295
Fixes #1314
Scoping highlighting tags to the mocha element

I'm not sure whether I'm missing an edge case or not, but this solves my issue and it makes sense to me that this is what we would want it to be anyway. Everything should be scoped to the `#mocha` element anyway. My use case is I have a collection of components and I have tests for them. I have a site that shows the component, an example, and the test. The example and test is interactive and runs on the page. Without this change, mocha will highlight all my other code tags on the page which messes things up. Here's an example of this change working on my page: http://kent.doddsfamily.us/kcd-angular/#/kcd-dynamic-attr#spec (see the spec toward the bottom)
Merge pull request #1325 from kentcdodds/patch-1

Scoping highlighting tags to the mocha element
Changes test reporter to spec for better reports on failing tests.

closes #1331.
resolves #1329: ability to disable syntax highlighting

also built.
#1329 again: fixed boolean blunder
Merge pull request #1332 from jbnicolai/issue/1331

Changes test reporter to spec for better reports on failing tests.
resolves #1072: do not expect uncaught exception to be an object
resolves #1223: fix interaction with symbolic links

- symbolic links are followed if they are not broken
- move `lookupFiles()` into `utils` module
- add some tests for the symbolic link stuff
- build
Merge branch 'mocha-1223'
Fixes test for utils.lookupFiles.

Returned list of files is in unspecified order, as it uses the underlying
fs calls to retrieve them, which also return them in unspecified order.
Adds semicolon missing from pull-request.
Replaces util.escapeRegexp by the escape-string-regexp package.