Properly trim data from client

When creating tickets, ensure that data which should not contain leading or
trailing whitespace is trimmed and validated accordingly
Merge pull request #600 from greezybacon/issue/600

client email not being trimmed?

Reviewed-By: Peter Rotich <peter@osticket.com>