Documentation|libcommon: Improved apidoc for the game state reader/writer module

Plus some further minor cleanup.