Merge pull request #3380 from eileenmcnaughton/CRM-14197

a few comment fixes
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
Merge pull request #3305 from eileenmcnaughton/CRM-14197-membership

CRM-14197 contribution form post process - set entity_id to membership id
Per discussions with @totten I am merging this as he felt that he could do relatively little QA on it & I could see that the constant rebasing of this work has been much riskier in terms of bugs than actual code changes & as I have already changed back-office flows we can't really go back. 

The heart of this is the changes so that line_items have membership_id as the entity_id for memberships. rather than contribution id. The PRs leading up to this have been about getting to the point where the code made enough sense to make this change.

The key flow that still needs testing is around single vs multiple membership on the contribution page
CRM-14197 remove rebase introduced error
Merge pull request #3381 from eileenmcnaughton/CRM-14197

CRM-14197 remove rebase introduced error
mailing tests
Merge pull request #3382 from eileenmcnaughton/mailingtests

add a test to check mailing is sending
CRM-14760 - ensure prefix/suffix is updated via profile update

----------------------------------------
* CRM-14760: updating individual prefix via profile fails
  https://issues.civicrm.org/jira/browse/CRM-14760
Fix smarty crmDate function as used on frozen fields
Merge pull request #3384 from colemanw/value

Fix smarty crmDate function as used on frozen fields
--fixes to store the target id for activity of case type
Merge pull request #3385 from divya-jose/targetidissue_caseactivity

--fixes to store the target id for activity of case type
Merge pull request #3363 from jitendrapurohit/CRM14315

CRM-14315
CRM-14107 additional fixes

----------------------------------------
* CRM-14107: Implement Previous / Next navigation on contact summary pages when accessed from a custom search
  https://issues.civicrm.org/jira/browse/CRM-14107
Merge pull request #3386 from monishdeb/CRM-14107-fix

CRM-14107 additional fixes
allow creation of new case type CRM-14480

----------------------------------------
* CRM-14480: Implement "Edit Case Type" screen
  https://issues.civicrm.org/jira/browse/CRM-14480
minor fixes CRM-14480

----------------------------------------
* CRM-14480: Implement "Edit Case Type" screen
  https://issues.civicrm.org/jira/browse/CRM-14480