Adds option for strongly preferred prefix and single segment search.

These options make stringMatch produce useful and predictable results in cases that are not
quite the same as file searching (such as code hinting).