VVTestBase::waitUntil function added

This utility makes waiting for boolean flag change less
processor-consuming. It must be used carefully. It dont
check if flag under refference still exist.