api: add cci_event_type_str()

to return the event type as a string