Wrap the logging stuff into a time boxed search

It will look for the log output every half second, limited to no longer
than 10 seconds. This should alleviate the flakyness where it was
expecting logs before they got there. I hope.
Refactore the timedWait into a utils class

Also modified it to take an optional TimeUnit, defaulting currently to
SECONDS.

I couldn't get the tests to execute where I'm at, maybe a side effect of
the wifi network I'm on :|
Merge pull request #961 from rackerlabs/REP-568

Hopefully resolve flaky failure problems for the DistDataStoreMisConfigTest