* Adhering to new mutex api
* casting assert arg as expected
* Using correct mutex call
* Formatting
* Fixing interface for wait/pend
* Fixing conditionvariable to adhere to new interface
* Updated Os::Stub's implementation of ConditionVariable per new interface
* Formatting and updating Test's ConditionVariable implementation to the new API
* bugfix to ut
* Fixes per PR review.