Enable DDLogging in plugins

This uses a global pointer in the plugin namespace to the PluginManager
and then macro hacks to call a logging function on the PluginManager,
enabling us to share a single LumberJack instance.