[#74] Tracking discount codes used on memberships with pricesets.

Porting this to master.
Merge pull request #76 from generalredneck/master_membership_priceset

[#74] Tracking discount codes used on memberships with pricesets.