Basic logging, messaging, and replying

Added event_final field to log table, will be used for kick/ban reasons
Added even handlers

TODO add mode change handler