Ensure wait_for_job accepts a job_id as well as a resource

Added support for client.wait_for_job('jobId').