Delete unneeded query in checkAccess function in Message controller
Enable Yii debuger
Check if users were choosen for invitation
Check if id parameter was set when member function call
Implement invite feature
Merge branch 'master' of https://github.com/boo1ean/network

Conflicts:
	app/config/main.php
Throw exception if Gearman php extension not found
Add migration to create unique index in table users on field email
Add faker to the composer.json and change constant email on the random email by faker in usertest
Rework the process of invite. Now when user will follow invitation link, he will be redirected on the
page of registration, where user can be registered. But from now user can't input email.
He can only bind his profile with email from invitation.
Add check on success build in build.sh
Add hint to build.sh
Rework the tests for user. Fix the reason of tests failed and add the random generate data for all of the existing fields.
Merge branch 'master' of https://github.com/boo1ean/network
Change navbar and messages UI
Fix bug active menu item highlight
Add test routing code
Remove not needed str_replaces
Remove not needed test code
Improve messages UI