New chat layout

Conflicts:
	app/helpers/layout_helper.rb
Remove unused chat files and fix chat button
Fix friends counter in chat
Use xmpp_chat to render new chat layout
Small fixes for chat
Remove userdata polling when chat is enabled
Add style to links in chat history
Small fixes on chat layout
Fix bosh service url
Upgrade strophe.js to 1.1.3
Small fixes in chat ui
Small fixes in chat ui
Fix group chat
Improve chat layout
Save chat history

Conflicts:
	app/controllers/public/chat_controller.rb

Conflicts:
	app/controllers/public/chat_controller.rb
Added timeago.js to chat
Chat improvement
Small chat fix
Improve html templates for chat components
Fix layout for occupants for group chat