JSON error objects for debugging. Add two tests for invoking done().

Squashed the commits and created a feature branch for this pull request:
https://github.com/visionmedia/mocha/pull/1233