Eluna: AddonMessage hook support

ADDED: AddonMessage hook support core-side. To use this hook you have to
enable addon logging in config.

TODO: Possibly rewrite?