separate form level part of renewal from bao part using an outer wrapper function

separate form level part of renewal from bao part using an outer wrapper function
further consolidation on membership creation

comment fixes

enotice fix

further refactoring to pass more params into smaller functions to make fixing membership line items doable
CRM-14197 make membership_payment create action take responsibility for setting entity_id for membership line items
CRm-14197 where a participant_payment contribution has a single line item point it towards the contribution