DB: fix to get_processing_times_obs_types

Also updated job_summary web page to work correctly with this
version. May still be a bit iffy for tasks with multiple obs per
job.
DB: add tasks and get their etransfer state