Moved alert fns into the callbacks for the store / queue objects and added a ‘fail count’ hook that is called when a job has failed, but not marked as such. Closes #1, #2