Split chess-game.vala into multiple files

This is easily justified by observing that the majority of
chess-game.vala was devoted to the ChessState class.
warning: extra tokens at end of #endif directive
Split several files off into an internal library

This will be a static convenience library, so we don't have to recompile
all of these files for each test binary.