MDL-40060 mod_book: Replace add_to_log with events
MDL-40060 booktool_importhtml: Events instead of add_to_log
MDL-40060 booktool_exportimscp: Replace add_to_log with events
MDL-40060 booktool_print: Replace add_to_log with events