Bug 1045590- EventDispatcher.offAll can remove all handlers at once r=az...

...asypkin
nit: now we have two test cases with the same name, maybe we can differentiate them like "unregisters all handlers at once" or something?