TRUNK-4485: Making provider search match mode configurable.

This is done using a global property which can assume two values either EXACT or START with the later as default.
Match mode is not an enum, it is an abstract class