Introduce edd_discount_is_single_use(). #866