add callback to waitUtil
so we can get more info from client side when timeout
also update MockingUitlTest -- different type of Error is being thrown
@rev tbliss@
@rev gtorres@
@bug W-2356488@
Merging origin/lin/master-pending/refactor-waituntil-add-callbackfunc into master