Add test system for the PGN parser/printer.
A few PGN fixes.

Parses the tag pair section correctly now.