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

not big value but it still tests real code. Simple code -> simple test :)