adds getPromoteTo method to Move
corrects reference to _positionBefore in Move._checkCastlingMove