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.
That does work, although the sql on line 125 is then fired off no matter what to build the `samples` dict for the given analysis regardless of if it's needed or not.