adding discount proxy and computation to subtotal
Merge pull request #63 from segmentio/add/discount

adding discount proxy and computation to subtotal