Fix bug with uppercase usernames (circles-ios/128)
This MR improves UserId validation and stores everything as lowercase internally.
The reason for this was that we were having problems with accounts where the username was originally entered with uppercase characters.
Closes circles-ios/128.
Edited by Charles Wright