Simplify edd_get_cart_discount_amount() and other minor tax tweaks. #1744