Adding Text Complete Feature

Including follows:
- jQuery 1.10.2 jquery-migrate
- a view hook "script_in_chat_room" is added to load javascript from plugins
- minor modification to textcomplete library to enable AS plugin developers to add their own strategies