Lots of small optimizations to make DReAM-based unit tests run a bit faster.
Move Thread.Sleep() inside the wait loop.
Method names are treated in a case-sensitive manner.
Merge pull request #122 from bjorg/DR-134

DR-134 Investigate why DReAM host service is slow to startup/shutdown in unit tests
Merge branch 'master' into DR-132