CRM-13275 fixes on pledge report ported from 4.2

fixes on statistics, calculation & inclusion of total paid for cancelled as well as some tidy up