Centrality plugins and DQM centrality bugfixes

Bug fixes for : 
https://github.com/cms-sw/cmssw/pull/1564#issuecomment-36230668
and
https://github.com/cms-sw/cmssw/pull/2547#issuecomment-36220866