Fix GetInstance() methods for the DbType and config validator registry classes
Implement support for thin mutexes
Replace boost::shared_ptr with boost::intrusive_ptr