Fixed SQL exception whic occured on duplicate coupon code
Considered lunika comments
Fixed callbacks comments
Merge pull request #753 from roadster31/duplicate-coupon-code

Fixed SQL exception which occured on duplicate coupon code