[FLINK-19692][core] Add a header for each keyGroup

This closes #168.
2 files changed