Ignore whitespace in ServerSettingsControl text boxes

The existing code to strip whitespace had interesting behavior
in Mono.  See https://jira.sil.org/browse/WS-201.  The new code
follows a pattern suggested in MSDN.