Common: Get rid of StdConditionVariable, StdMutex, and StdThread.

All of the compilers we support have support for these now.
Common: Add Flag.h to the Visual Studio project.
Merge pull request #796 from lioncash/threading

Common: Get rid of StdConditionVariable, StdMutex, and StdThread.