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.
Looks to me like it's 1, but I can actually clear out the maxId business now that I know I have an event object.