cms cxx11 custom attribute handling for clang 3.4
Merge pull request #1 from gartung/cms-custom-attrib-3.4

cms cxx11 custom attribute handling for clang 3.4
allow cms::thread_guard to be used on variables too