TRUNK-4485: Modifying provider search to make it configurable

This tickets aims to make search mode for providers when using identifier configurable through the global property. Instead of suing MatchMode.ANYWHERE, the code is modified to allow only EXACT and START.
MatchMode is an abstract class and not an enum, but i agree that we don't need these constants actually