Update analysis job objects

This adds some functionality to job objects that is needed for the commands selection page. Exists now properly checks the data used for the job, and delete now works for jobs.
I think it can be something like:
```
if analysis:
   for a in analysis:
      if analysis.id = a[0]:
          analyses.remove(analysis.id)
          break
      [what happens if is not found?]
      [... rest ...]
else:
    return False
```