Updated pgn_test code

...ngs are called. Also, I've added several new functions and built an initial implementation of the history recording methods. This checkin is slightly incomplete as I am still working on recording the move history. A more complete checkin will be included soon.