renames events to emitter
updates to mocha 1.9.0