Add discount_codes email template tag

Issue #1813