Catching Mocha's finish by adding global "end" event listener for all Mocha.Runner instances.
(that's why I love JS :) )
Fix?
Added fallback for old mocha version, waiting for stats object to be finally filled instead of outputting it immediately.
Merge pull request #10 from RReverser/master

[Mocha] Catching finish by adding global "end" event listener for all Mocha.Runner instances