Add cfw:event struct for common formatting.

A common struct for events enables the same formatting for different plug-ins. Otherwise each plug-in would have its own style of how to display events. Additionally it allows the user to customize the formatting of events.