Changed short Thread.sleep() times into while() loops to fix flapping
EventdTest.
Changed more Thread.sleep() calls to while loops to improve reliabiity of VacuumdTest.
Added while() { Thread.sleep(); } loops to prevent problems in ProvisionerTest.
Merge branch 'master' into pjsm/2.0