CORE-5699: add functions needed for job status synchronization to mescal
CORE-5699: updated job status synchronization to work with Agave