Allow mocha to handle uncaught exceptions instead of grunt

Mocha has its own uncaught exception handler which gets pre-empted by
the one that grunt installs. Temporarily remove the grunt one while mocha
is running to let it handle the exceptions.
Merge branch 'uncaught_exceptions' into bamboo_support