PLAT-167: Changed the order of saving to avoid the situation in which
the job is taken before the batch_job_lock_id is set.
Merge pull request #274 from kaltura/IX-9.1.0-batch-improvments

PLAT-167: Changed the order of saving