Removed unneeded const_cast

Although the const_cast was not needed, it was showing up as a warning
by the thread-safety checker.
Changed statics to const statics

Previously, the function local statics were not declared const because
there was no way to easily set their values via the constructor. This
code was changed to use 'const function statics' where we use a helper
function to do the setup. This avoids thread-safety issues.
Made Conversion thread-safe and smaller in memory and storage

Conversion previously stored two copies of tracks, one as Refs and
the other as RefToBase. Only the RefToBase were used internally and
externally. However, the RefToBase were filled from the Ref as needed.
Therefore I dropped the Refs and instead fill the RefToBase from the
Refs in the appropriate constructors. This means the vector of RefToBases
does not have to be mutable and therefore the object is thread-safe.

Added a ROOT I/O rule which allows reading back the old format which
has the Refs in the case where only the Refs were ever filled.
Thread safe changes
Use thread safe collection for static in L1MuGMTReadoutCollection

L1MuGMTReadoutCollection::getRecord returns a const reference to a
dummy item if the requested item is not in its main collection. Prevously
this was done by using a static std::map to hold any requested missing
items. To make this thread safe we changed to a tbb::concurrent_unordered_map.
Thread safe changes
Replace auto ptr with unique_ptr
Remove default ctor as suggested by Ianna
Fix ptr release
Replace auto ptr with unique_ptr
fixed bug which lead to seg-faults in IB tests

In the constructor of Conversion, resize() was called instead of reserve(). This caused the vector to contain an invalid first entry which caused the seg-fault.
Changes non-const statics in PFCluster to avoid static analyzer warnings

The static analyzer flagged several non-const statics in this class as potential threaded problems. We removed instanceCounter_ since it was never used and moved the dummyVtx function static used as a return value to be a const
class static. The statics associated with setDepthCorParameters and getDepthCorParameters were left as is but they were reported to the appropriate L2s.
Add missing initialization
IB_test
IB_test
Make statics thread local
Changed SetCurrentFolder to bookHistos to fix missing histos, put back CSC to the sequence, remove getByLabel references from MuonPFAnalyzer
Put back CSC
static data member is not thread safe and doesn't need to be static
Merge branch 'MuonDQM-FixMissingHistos' of github.com:folguera/cmssw into MuonDQM-FixMissingHistos