CDAP-398 Add exists() and waitForX() to cdap-client classes

https://issues.cask.co/browse/CDAP-398
should this be, timeoutUnit.toMillis(1) , since we are calling Thread.sleep on the sleep delay and that's usually in milli seconds ?