Core/Chat: Fix AddonMessaging and logging
Core/Logging: store loggers in cache correctly
Merge pull request #11840 from Rochet2/AddonMessaging

Core/Chat: Fix AddonMessaging and logging
Core/CrashHandler: Log GetLastError() id if no description is found

Log the System Error id returned by GetLastError() in case FormatMessage() doesn't find a proper description for that message.
Core/ChatLog: handle chatlog options with extended logging system
Merge branch 'upstream/master'