content_log configurability and testing

This makes content_log a bit more configurable and also more easily customized via isa_plugin()

It also adds test coverage
works for me, will follow up soon