CMSSW 6 2 X switch to consumes API

Code modified to use the consumes API. getByLabel() invokations are replaced with getByToken().