task submit numbers: fix reset on reload

This fixes a bug whereby task submit numbers get reset to 0 on reload due to the change of the db event from `submitted` to `submitting now` and `submission succeeded`.

Tweaks the db code to use the event `submitting now` as the one to look for when determining a submit number on initialising a task proxy.

I will add a test to the battery for this in the near future.