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

I saw exception in test log, at the time that change was introduced, not sure whether it still the case after several rebases, will check