Trim whitespace from query strings
fix typo.
Merge remote-tracking branch 'josefwells/trimsearch'
Document whitespace trim.