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

I don't really like it for a reason: we need utils.js just to load the other files. I feel like it's an unnecessary dependency while we merely want to call defineProperty with some code easy to copy/paste (the "if" blocks are not really necessary if we call it in the files themselves)