emits the complete event when starting and backlog is empty

When starting up and the pending jobs db is empty, trigDb should also emit the "complete" event so that we know we're done with the backlog.