Add tracking for refunds.

@rlucioni @stephensanchez 

ECOM-796
Why not call `_emit_order_event` directly instead of `_emit_refund_event` and `_emit_purchase_event`? I'm not sure this abstraction gains us much.