Fixed pawnPromotion

Created a dialog which allows users to choose what to replace thier pawn
with. Also created a graphical popup (class PieceChooser) which was
supposed to give the same functionality as the dialog but does not.
Renamed swapPiece to swapPawn.