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

https://issues.cask.co/browse/CDAP-398
Whenever you takes timeout, always have `(long timeout, TimeUnit timeoutUnit)`. It's the standard in Java API.