Fix issue 1279: getByToken implementation reveal a problem due to importing the code to book histograms to the beginRun.
Merge pull request #1297 from acaudron/getByTokenDQMbtag

DQM fix -- Fix issue #1279 related to consumes migration for BTag DQM.