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

I like your changes for replacing this :+1: 

I never really found how to do it properly, but you found :)