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

I can file [Messages][Refactoring] follow-up to revise it, does it work for you?