Fixes "lastEventId" param name in APIHandler, adds ctor to WorkflowEvent