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.
Well I think I will delete the unnecessary constants and allow users to set whatever match mode they like.