Prevent leading and trailing spaces on user's Full Name

On the Contact Information form it is possible for the user to
enter a Full Name that includes leading and/or trailing spaces,
for example:

  "      Firstname Surname"
  "Firstname Surname      "
  "   Firstname Surname   "

Or even a name that consists entirely of spaces:

  "                       "

The entered name is unchecked and will be saved to the database
as is.

Strip off the leading and trailing spaces before saving, and
refresh the entry field to make sure it displays the value that
was actually saved.

Change-Id: Ib058ae8f6ac6ec897f744a7cd017f268fe2da47f
2 files changed