Remove no-longer-needed refund column from payment_details (replaced with Refund/RefundDetail models)
improve mechanism for calculating total amountt received
combine payment_detail->all_paid and payment_detail->completed concepts, change the payment#summary to access the totals through the expense_item, instead of doing 'count' multiple times
remove redundant completed/not-refunded check