CORE-5832: changed the :analysis_id key in the job submission JSON to :app_id
CORE-5832: changed the :analysis_* keys in the job submission JSON to :app_* and removed some dead code