Use call_user_func in waitUntil to run callback

This allows methods as callback. Since the argument is checked by is_callable which allows array($object, $method) style callbacks.
Merge pull request #277 from dom-mel/patch-1

Use call_user_func in waitUntil to run a callback