Added callback appender for wlog.
Replaced fprintf error messages with WLog.
Fixed callback appender setup.
Added unit test for callback wlog appender.
Fixed memory leak.
Fixed header include.
Merge pull request #2213 from akallabeth/wlog_callback_appender

Wlog callback appender