add [[cms::thread_safe]] or const to statics
use CMS_THREAD_SAFE macro to hide CXX11 attributes from reflex
Merge pull request #1711 from gartung/fwcore-message-service-add-atrib

Multithreading fixes -- Add [[cms::thread_safe]] or const to statics