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

ah yeah, definitely right. I thought of it when I wrote it in the first place :)