Add event when job is about to start

If you have more jobs in the queue than threads to run them simultaneously, some jobs have to wait, so it is useful to know when each job is about to start running. This PR adds a callback for that.