Add ERROR as possible job status

If a job fails, its status is set to 'ERROR'. BTW that state is not
included in the list of available statuses ($availableJStatus).
Merge pull request #1599 from mlocati/fix-job-status

Add ERROR as possible job status