Fix and filter for exclude settings on coupons

Add filter to use other excluded category(s) in coupons like tax in product brand plugin and fix for exclude sale issue #4825