SSP-2305 Per-batch Hib sessions for MAP status calculation job

Also includes several improvements to batch jobs in general, including
a standardized interface (BatchedTask) and set up of the task-specific
Thread name at the start of the task rather than at the start of each
of the task's batches.