Author: David Mudrák
MDL-63174 user: user_create_user to throw exception on empty username
The core API function user_create_user() did not check the case when the
given username was empty.
Also adding a missing string 'usernamelowercase' for the existing lower
case check and unit tests.
http://git.moodle.org/gw?p=moodle.git;a=commit;h=784883e1ee1b37a5277b8e374eb3b43a5e156ecb
http://github.com/moodle/moodle/commit/784883e1ee1b37a5277b8e374eb3b43a5e156ecb
+ 3.6 en [invalidusernameblank,core_error]
+ 3.6 en [usernamelowercase,core_error]