Bug 1109745 - [Messages] Load thread_ui and activity_handler earlier when starting as an activity. r=julien

minor conflict with current master here