TOOLS-134 : fixed bug where check for existing contact before save did not trim whitespace