Group events by their row key

Use actual event objects instead of separate parameters to
represent events. Include all KeyValues in each SepEvent.