fix cassettes
failing spec discount rounding
reimplement discount calculation with formula
Merge branch 'discounts' into invoice-generation

Conflicts:
	spec/cassettes/hook_charge_refunded.yml
	spec/cassettes/hook_charge_refunded_partial.yml