CRM-12271 BAO fix and webtest. Have not been able to run the webtest due to incompatibility between our current version of Selenium (2.21) and latest version of Firefox (22). Selenium problem is sched to be fixed in their next release - 2.34.

----------------------------------------
* CRM-12271: Changing a contribution status from "completed" to "Cancelled" or "Refunded" breaks Pledge payments
  http://issues.civicrm.org/jira/browse/CRM-12271
CRM-12271 webtest (new file)

----------------------------------------
* CRM-12271: Changing a contribution status from "completed" to "Cancelled" or "Refunded" breaks Pledge payments
  http://issues.civicrm.org/jira/browse/CRM-12271
Merge pull request #1086 from davecivicrm/CRM-12271

Crm 12271