libcommon|GameStateWriter|GameStateReader: Moved more savegame writing/reading logic into GameStateWriter/Reader