Adding WriteStart and WriteStop to LoggerExtensions.

It gives the ability to write structured logs. Added start and stop to TraceType, WriteStart and WriteStop to LoggerExtensions, and created corresponding tests.
Writes a stop event