get scheduled events

This branch adds a method to `WorkflowEvents.php` to retrieve all scheduled events in the workflow history.