Trim leading & trailing spaces from the search term, as these can cause
the search to fail.
Merge pull request #38 from nathanweeks/issue/search_whitespace

Trim leading & trailing spaces from the search term.  Thanks Nathan!