Fix AlertConditionTest timing issues for rhq-master-ora build

Introduced org.rhq.test.AssertUtils.timedAssertion

Also, some code cleanup