Fixed a few bugs, added pseudo-FEN parser

Fixed en passant bug, AI pawn promotion bug. Added pseudo-FEN parser for
testing purposes.

Credit to edu5 for finding the bugs.