move amount display code out of model
debugging Contribution.get_total_amount
fix Contribution.get_total_amount to work with postgres