Add sanitize option to log module

Adds an optional `-sanitize` flag to the `log` module. Currently strips color codes. Ref znc/znc/#191