Merge pull request #4031 from smuzaffar/CMSSW_5_3_X

fixed duplicateReflexLibrarySearch for patch releases
If no .edmplugincache file found under LD_LIBRARY_PATH then force to use one under CMSSW_BASE to avoid cat hanging