fixed problem returning JSON representation of a user after calling the signup API
added tests for check usernames and roles in various scenarios
Merge pull request #418 from giastfader/issue_412_slow_get_user_profile

fixed problem returning JSON representation of a user after calling the signup API
Merge pull request #419 from baasbox/issue_412_slow_get_user_profile

fixed problem returning JSON representation of a user after calling the signup API
fixed merge conflicts
Merge branch 'master' of https://github.com/baasbox/baasbox