New submit and submit-fail triggers.

This addresses #473.
Make run-db events consistent with new task event names.