CRM-14800 fix - Contact merge deletes a contribution record if it is linked to a membership being merged

https://issues.civicrm.org/jira/browse/CRM-14800
Merge pull request #3447 from monishdeb/CRM-14800

CRM-14800 fix - Contact merge deletes a contribution record if it is linked to a membership being merged