Allow custom layout renderers to use stacktrace

Be deriving from IUsesStackTrace custom layout renderers can get
stacktrace information from log messages.
closes #295