port L1 and HLT rate monitoring via DQM to 7.2.x

Forward port the L1 and HLT rate monitoring via DQM to 7.2.x, including #5965