Cpp exports group into a single cpp file.

However group export to .schematic has been crippled.
Exporting groups works for both formats.

Also both game and console command handlers use the same common code.