added mode hook, logs for mode/topic
See description

Drop s_id from messages.
Support nicks with length up to 30 characters
Fire topic event on join
See Description

Return 404 on bad log request
Disable viewing of private message logs