Introduced edd_cart_has_discounts(). #715