ThreadSafeRegistry is now fully thread-safe

-Removed all the interfaces which provided direct internal access
 to the container and therefore were not thread-safe
-Protected all remaining interfaces with the mutex
-Made the mutex a member variable to avoid creating one each time
 the .icc file is included.