Moved end-of-game code into its own class, added createDefault methods for that and turn order, so that basic rules can still be used in incomplete definitions.

Not yet added parsing of proper end-of-game logic.