Added option to specify that wagers are illegal when returning the list of legal actions in HandPlayer. Also added a sort operator on PokerAction.