Events: QUnit logging system uses EventEmitter

Fixes #422.

Even though this is earmarked for `v2.0`, it is 100% backward compatible.

Critique away.  :wink::wine_glass:
Can't this just be `if ( !config.callbacks[ type ] )`?