Minor refactor to UserServicesBackendImpl (move user name normalization to new TextUtil class)

Move user name normalization to new TextUtil class.
Add additional test to TextUtilTest.
Refactor UserServicesBackendImpl.java.