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 like the idea of this, but we already have such a mix of SQL and python in all the objects that this seems like something that should be standardized and done as its own pull request if we want things set up that way.