Ignore a leading ~ in search queries.

Leading ~s are used for forcing the search results to show rather than a
specific title but shouldn't be included in the search.
Show error message to user on search failure.

We'll also log some error messages to the php error log on search
failure.
Merge branch 'master' of ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CirrusSearch