CRM-14944 QA fixes

----------------------------------------
* CRM-14944: function should not be called statically - pledge page
  https://issues.civicrm.org/jira/browse/CRM-14944
Merge pull request #3613 from atif-shaikh/CRM-14944

CRM-14944 QA fixes