Newlines in the search string lead to "Could not connect to network server" error

Leading/trailing spaces in search string are useless anyway and given that search query is not url-encoded stuff like trailing newlines (which xbmcRemote iPhone app seems to add) leads to invalid URL. Which in turn leads to "Could not connect to network server" error.

Calling strip() on user input fixes this.