Added support for CrashManagerListener

Added support for CrashManagerListener in TraceWriter