Pull in BlueChilli's capability to apply CreditNotes to Invoices

I don't know whether you guys will take this as is, or whether we can go through some sort of review process but we'd like to get this in the main build