Nickname nitpicks
This branch fixes a couple of usability nitpicks with nicknames:
- Trim whitespace from nicknames (useful when auto-complete adds a trailing space)
- Use the same capitalisation for the alias dialog as the other places we enter nicknames