JCLOUDS-457: Add JobStatus enum

Now the job status is stored as an enum instead of
a String. This is useful when comparing the status to
check if a job is completed, failed or still in progress.