Replace obsolete PScopedPointer for ::Tools::Memory::ScopedPointer.
Remove obsolete pthreads tools.
Remove obsolete os tools.
Remove obsolete types tools.