removing conflicts found when combinging reco,dqm,validation,pat

substitute duplicated code for  import statements 
Automatically ported from CMSSW_7_2_X #5084