Add ThreadId class.
Add WaitableBool class.
Implements ThreadId comparisons.
- Rename ThisThread::GetThreadId() to GetId().