Bug 1039585 - [Messages][Refactoring] Implement EventDispatcher object. r=julien

I've seen that "recipients.js" uses the name "emit". I find it better than "trigger" but tell me what you think