Bug 1041124 - [Messages][Refactoring] Make use of EventDispatcher in MessageManager. r=julien

Thinking more about this, it's not the goal of this patch anyway, so let's keep this in our minds only for now :)

To answer your question the event name should be in `event.type`.