Merge pull request #796 from lioncash/threading Common: Get rid of StdConditionVariable, StdMutex, and StdThread.