Add test for User::requestEditcount
tests for User::hasEmailEnabled
tests for User::requestRights and User::hasRight
Merge pull request #134 from addshore/usertests

Implement tests for User class (fixes #133)