use concurrent map instead of thread local map
Merge pull request #4198 from wmtan/AvoidThreadLocals

Avoid thread locals.
Merge remote branch 'origin/CMSSW_7_1_X' into CMSSW_7_0_X