WorkflowId and Last Received Event

Adding in the workflowid and the ability to retrieve the last event in the history.

Tests include calling both features on an object with many events, and calling it on an object with no events.
It can't hurt to be safe, so you can leave the code as is regarding ordering.