GameRuleset|libcommon: Added a (de)serialization mechanism

The save version was bumped to v14 as previous save state formats
interleaved the game rules with other game session configuration
info.