Added substring queries for sphinx.

Right-hand side wild character only for performance reasons. Searchd is
configured to only allow right hand wild anyways.