Make Singleton thread-safe.
Initialize map at construction time
Requires public destructor
Do not create a copy constructor
Do not create a default constructor and an assignement operator
Revert changes
Merge pull request #5018 from ianna/thread-safe-singleton

Thread safe singleton