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:
Yes, it was just copied from the old code.