This change connects the Scheduler to the new-image signal sent by the Capture module.
If remembering job progress, it triggers a refresh of the capture storage, and updates the time estimation of all jobs.
It also makes sure a completed job is not re-evaluated to schedule in the basic "run-to-finish" and "repeat-N-times" cases.
It also adjust the count of captures in the scheduler table to avoid displaying required counts on jobs that are looping.
When remembering job progress, the new-image event can't be a simple +1 in the count of the running job because of duplicates.
Note that ANY new-image coming from the Capture module will trigger a refresh, even if the Scheduler is not running.
This is not expected to be an issue as currently all jobs, whatever their state (even being edited), can be re-evaluated without issue.