Added phase kwarg to both check_all_jobs and delete_all_jobs, which go through and check/delete (respectively) jobs with the appropriate phase. If no phase kwarg provided, ALL jobs are operated on. Renamed check_query_status to check_job_status.