mod_log_ringbuffer: Detach event handlers on logging reload (thanks Menel)
Otherwise the global event handlers accumulate, one added each time
logging is reoladed, and each invocation of the signal or event triggers
one dump of each created ringbuffer.
This module produces more detailed HTTP logs for Prosodys built-in HTTP
server. The format is similar to that of Apache and go into Prosodys
normal logs at the `info` level.