Fixed uncaught exceptions in hooks
Fixed uncaught exceptions in hooks

previously this would fail:

  before(function(done){
    setTimeout(function(){
      console.log('test');
      assert('foo')
    }, 10);
  })

menelaos/mocha-solarized,IveWong/mocha,hackreactor/mocha,benvinegar/mocha,wltsmrz/mocha,kevinburke/mocha,Phoenixmatrix/mocha,node-rookie/mocha,IveWong/mocha,beatfactor/mocha,igwejk/mocha,jasonkarns/mocha,kolodny/mocha,Khan/mocha,ajaykodali/mocha,irnc/mocha,cleberar38/mocha,gaye/mocha,woodyrew/mocha,nexdrew/mocha,aaroncrows/mocha,jkresner/mocha,domenic/mocha,jkresner/mocha,phated/mocha,hashcube/mocha,duncanbeevers/mocha,cleberar38/mocha,aaroncrows/mocha,geometrybase/mocha,outsideris/mocha,mochajs/mocha,Khan/mocha,pandeysoni/mocha,moander/mocha,npmcomponent/visionmedia-mocha,boneskull/mocha,a8m/mocha,KevinTCoughlin/mocha,Hacker0x01/mocha,ryanshawty/mocha,benvinegar/mocha,hashcube/mocha,mbovel/mocha,beatfactor/mocha,Shyp/mocha,Hacker0x01/mocha,benvinegar/mocha,villesau/mocha,mponizil/mocha,DeNA/mocha,jbnicolai/mocha,tinganho/mocha,Shyp/mocha,ryanshawty/mocha,moander/mocha,ryanshawty/mocha,moander/mocha,ELLIOTTCABLE/mocha,KevinTCoughlin/mocha,kyroskoh/mocha,jjoos/mocha,boneskull/mocha,mysterycommand/mocha,menelaos/mocha-solarized,geometrybase/mocha,domenic/mocha,hoverduck/mocha,santiagoaguiar/mocha,sul4bh/mocha,diydyq/mocha,michaelBenin/mocha,joshski/mocha,jbnicolai/mocha,rstacruz/mocha,Hacker0x01/mocha,wltsmrz/mocha,mbovel/mocha,ianwremmel/mocha,hashcube/mocha,luxe-eng/valet-express.mocha,apkiernan/mocha,cleberar38/mocha,netei/mocha,JohnnyEstilles/mocha,rlugojr/mocha,upfrontIO/mocha,tswaters/mocha,ELLIOTTCABLE/mocha,youprofit/mocha,villesau/mocha,pandeysoni/mocha,ilkkao/co-mocha,tswaters/mocha,netei/mocha,a8m/mocha,verkkokauppacom/mocha,kyroskoh/mocha,apkiernan/mocha,charlie77/mocha,jkresner/mocha,Phoenixmatrix/mocha,jjoos/mocha,youprofit/mocha,outsideris/mocha,duncanbeevers/mocha,santiagoaguiar/mocha,glenjamin/mocha,glenjamin/mocha,kevinburke/mocha,imsobear/mocha,ilkkao/co-mocha,beatfactor/mocha,nexdrew/mocha,tinganho/mocha,airportyh/mocha,adamgruber/mocha,antoval/mocha,jasonkarns/mocha,tinganho/mocha,npmcomponent/visionmedia-mocha,beni55/mocha,nexdrew/mocha,mponizil/mocha,mochajs/mocha,beni55/mocha,jasonkarns/mocha,apkiernan/mocha,upfrontIO/mocha,airportyh/mocha,GabrielNicolasAvellaneda/mocha,kolodny/mocha,diydyq/mocha,adamgruber/mocha,ilkkao/co-mocha,GranitB/mocha,antoval/mocha,verkkokauppacom/mocha,DeNA/mocha,woodyrew/mocha,sul4bh/mocha,Shyp/mocha,irnc/mocha,jjoos/mocha,mtscout6/mocha,hoverduck/mocha,rstacruz/mocha,pumpupapp/mocha,charlie77/mocha,hackreactor/mocha,menelaos/mocha-solarized,boneskull/mocha,santiagoaguiar/mocha,gaye/mocha,luxe-eng/valet-express.mocha,irnc/mocha,IveWong/mocha,mochajs/mocha,nightwatchjs/mocha-nightwatch,JohnnyEstilles/mocha,hoverduck/mocha,kolodny/mocha,rstacruz/mocha,pumpupapp/mocha,GranitB/mocha,imsobear/mocha,kevinburke/mocha,geometrybase/mocha,KevinTCoughlin/mocha,wltsmrz/mocha,GabrielNicolasAvellaneda/mocha,TimothyGu/mocha,GerHobbelt/mocha,papandreou/mocha,GabrielNicolasAvellaneda/mocha,pumpupapp/mocha,youprofit/mocha,sergeydt/mocha,kyroskoh/mocha,node-rookie/mocha,GerHobbelt/mocha,ianwremmel/mocha,ajaykodali/mocha,ELLIOTTCABLE/mocha,beni55/mocha,gaye/mocha,villesau/mocha,antoval/mocha,joshski/mocha,ianwremmel/mocha,verkkokauppacom/mocha,Khan/mocha,charlie77/mocha,aaroncrows/mocha,nightwatchjs/mocha-nightwatch,node-rookie/mocha,phated/mocha,TimothyGu/mocha,mysterycommand/mocha,rlugojr/mocha,joshski/mocha,papandreou/mocha,imsobear/mocha,nightwatchjs/mocha-nightwatch,mponizil/mocha,adamgruber/mocha,mbovel/mocha,ajaykodali/mocha,jbnicolai/mocha,michaelBenin/mocha,luxe-eng/valet-express.mocha,GerHobbelt/mocha,mysterycommand/mocha,upfrontIO/mocha,tswaters/mocha,a8m/mocha,netei/mocha,JohnnyEstilles/mocha,sergeydt/mocha,igwejk/mocha,GranitB/mocha,pandeysoni/mocha,rlugojr/mocha,DeNA/mocha,diydyq/mocha,phated/mocha,hoverduck/mocha,sul4bh/mocha,Phoenixmatrix/mocha,woodyrew/mocha