MDL-43759 logging: Add helper traits for stores and add support for buffering
MDL-43884 database: Fix get_tables() api for external stores
MDL-39933 logging: Get external dabatabase working.