fixes #222 and any other form fields

There should be no form fields that actually WANT a space… unless a password starts or ends with one.

So I am not trimming passwords, only share room ids and keys, usernames, etc.