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

Looks like ```ThreadUI``` is the only place where ```LinkActionHandler``` is used, so I've moved this call here. I'm not testing this call in ```onVisibilityChange``` tests, tell me if you think that's needed.