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

nit: this stub is in both tests; maybe you can extract it to a setup for a common suite? Or merge the checks in both tests ?