CRM-15537 - translate open ended installments to 9999 for authorize.net

----------------------------------------
* CRM-15537: editing recurring contribution for authorize.net with unlimited contributions throws error
  https://issues.civicrm.org/jira/browse/CRM-15537
CRM-14399 add alterCalculatedMembershipStatus hook

Conflicts:
	api/v3/MembershipStatus.php

Conflicts:
	api/v3/MembershipStatus.php

backport extra hook fn (protection against calls to it getting updated without the hook being there

fix to double up hook in rebase