Remove: useless import
Update: History uses EventFactory
Fix: event class type and state attributes renamed
Update: enhance History representation for better readability
Fix: History events state management
Update: implement WorkflowExecution And decision task events specifications