Add payment type and reference number to customer payments.

The transaction object now supports a "type" field which is an enum (cash, check, credit card, transfer, or other).
In addition, that field and the existing reference number now show on the customers/payments form and view.