KGO-656: added a function to trim all leading and trailing whitespace.
KGO-656: added a function to trim all leading and trailing whitespace.

wesley1001/Kurogo-Mobile-Web,modolabs/Kurogo-Mobile-Web,modolabs/Kurogo-Mobile-Web,wesley1001/Kurogo-Mobile-Web,wesley1001/Kurogo-Mobile-Web,modolabs/Kurogo-Mobile-Web