menu_group knows how to serialize itself to output stream

<< overload for menu_group replaces menu_group.write()
Includes an XML comment in the generated output file telling that it is a generated file.

The comment includes the time when the command ran as well

Fixes #24