Added wildcard support cmsnameToS(C)E for CRAB 2

CRAB 2 is using WMCore/SiteScreening/BlackWhiteListParser.py, which requires wildcard support for cmsnameToS(C)E sitedb call.

Details can be found in this thread  https://hypernews.cern.ch/HyperNews/CMS/get/webInterfaces/1139/1/1/1/2/2/1/1/1/1/2.html

This pull request added support for wildcards (*,%) to cmsnameToS(C)E sitedb call, the corresponding emulator call as well as two new unittests using pattern search. 

Could you review and merge, please?

Thanks,
Manuel