Restructure DeleteOldSubmissionRecords: gather the ids into a set and convert to a string of ids to use in 'IN (...)' queries. Then use that to perform the original DELETE from the submission table. Also use it to delete records from the client_jobschedule2submission and submission2ip tables. Prior to this commit, those records would just accumulate over time, and be stale/unused/just taking up space.
Restructure DeleteOldSubmissionRecords: gather the ids into a set and convert to a string of ids to use in 'IN (...)' queries. Then use that to perform the original DELETE from the submission table. Also use it to delete records from the client_jobschedule2submission and submission2ip tables. Prior to this commit, those records would just accumulate over time, and be stale/unused/just taking up space.

jcfr/CDash,jcfr/CDash,cpatrick/CDash,cpatrick/CDash,cpatrick/CDash,jcfr/CDash,cpatrick/CDash,jcfr/CDash,jcfr/CDash,jcfr/CDash,cpatrick/CDash,cpatrick/CDash