-- worked on CRM-12156

----------------------------------------
* CRM-12156: Cannot permanently delete a contact for whom a contribution has been created
  http://issues.civicrm.org/jira/browse/CRM-12156
code indentation fixes
notice fixes / indentation
Merge pull request #1094 from kurund/CRM-12976

CRM-12976
Merge pull request #1093 from pradpnayak/CRM-12156

-- worked on CRM-12156
Patched my local codebase and did upgrades 4.3.4 -> 4.3.5 as well as 4.2.9 -> 4.3.5 with expected results.

Upgraded 4.2.9 DB now has CONSTRAINT `FK_civicrm_financial_item_contact_id` FOREIGN KEY (`contact_id`) REFERENCES `civicrm_contact` (`id`) ON DELETE CASCADE,
-- fixed for CRM-12844

----------------------------------------
* CRM-12844: Automated recurring contribution "civicrm_line_item" records have wrong financial type id
  http://issues.civicrm.org/jira/browse/CRM-12844