MDL-37658 add new logging API with basic implemenation
MDL-37658 logging: fixed bug in legacy logging
MDL-41266 move reader access control out from manager

We need to let reports decide if they want to use capability to access readers.
MDL-41266 logging: Legacy reader should convert passed courseid to course in sql queries
MDL-37658 logging: convert all standard log fields to legacy log fields
MDL-43759 logging: Add helper traits for stores and add support for buffering
MDL-43759 logging: Update stores to remove duplicated code
MDL-41269 add standard log life time and add missing lang strings
MDL-41269 disable all logging during phpunit testing
MDL-41269 add separate ip column to standard log table
MDL-39933 logging: Get external dabatabase working.
MDL-43682 logging: Add a trait to group together common methods for reports
MDL-43681 report_log: Repoduce log reports to use new logging system