Board.parsePosition - Castling moves in the move history

Also fixed a bug in parsing the player to move from the first
move in the move history.