Fix username validation message to match regexp.

Fix https://github.com/gitlabhq/gitlabhq/issues/7199
Prefer single-quoted strings when you don't need string interpolation or special symbols.