pass isTest & lineitems into processContribution

further refactoring to pass more params into smaller functions to make fixing membership line items doable

fix on previous refactor

Conflicts:
	CRM/Member/Form/Membership.php
comment fixes & spelling