Restrict usernames to a single line.

Also set some other properties to help with prediction and display.
Merge pull request #119 from stephenjust/username-fix

Restrict usernames to a single line.