Threaded dqm migration3

EDAnalyzer to DQMEDAnalzyer migration.
Including fixes mentioned by @deguio  in https://github.com/cms-sw/cmssw/pull/5980