[#1980]  Changes invalid username error message on registration form

Currently if a user attempts to register a username that is invalid - e.g. contains illegal characters - the error message displayed is ' URL must be purely lowercase...'

With this change, 'URL' is replaced with 'Username'.
"User name", "Name" or "Username"? We should be consistent in this function.