Add static variables.
Fix bugs.
Merge branch 'master' of https://github.com/lelexxx/Social

Conflicts:
	Java/SocialChatAndroid/.idea/workspace.xml
	php/apps/api/app.php