Revert "Code for CiviCRM 4.3.x"

This reverts commit b1b186f936d38857f1caf9e5eedb7909d7ee6f84.
Revert "Revert "Code for CiviCRM 4.3.x""

This reverts commit 6cdd58abe2266618b8ff2a47b9301c9c1f86284b.
Civi 4.3.x code