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=1d3cbad20e3dbc6564730773680caa2f57c4097d
http://github.com/moodle/moodle/commit/1d3cbad20e3dbc6564730773680caa2f57c4097d
+ 3.4 en [invalidusernameblank,core_error]
+ 3.4 en [usernamelowercase,core_error]