Chop out wildcard usages of civicrm_prevnext_cache

Sort of brute force approach.  These queries were really expensive, and
for no reason.  I'd like to just match the damn key, but will conservatively
only rewrite infix searches as prefix searches.

Change-Id: I11aaedc570b6ba6cfa173c3ac07e83059a58904e