CRM-14197 pass line items & isTest into renewMembership (derive at form level

towards CRM-14197 pass lineitems & isTest into renewMembership

remove minor code duplication, ensure  set to form value

minor cleanups
param fix & clarify object to pass to updateRecurmembership fn

declare membershipContributionID & use that

remove  param

don't check for empty on  - would have had an error

remove unrequired param

set membershipContribution directly as required
refactor processing of secondary transaction into separate function
evaluate form contribution TypeID on form function
use try catch rather than passing errors as a reference
CRM-14478 - CRM_Core_EntityReference - Move SQL construction

This anticipates polymorphic SQL construction -- where have different
classes for different types of references (eg conventional SQL FKs; dynamic
FK; option-value FKs) and where each class constructs slightly different
SQL.
CRM-14478 - Split CRM_Core_EntityReference into different classes
CRM-14478 - Add CRM_Core_Reference_OptionValue
CRM_Utils_Array::index() -- Allow indexing when some keys are NULL/undefined
CRM-14478 - Add CRM_Core_DAO::getReferenceCounts()
CRM-14627 additional fix

----------------------------------------
* CRM-14627: civicrm navigation inconsistent
  https://issues.civicrm.org/jira/browse/CRM-14627
Merge pull request #3336 from monishdeb/CRM-14724

CRM-14724 additional fix
--Fix notices on Case view page for status with filter condition
Merge pull request #3337 from NileemaJadhav/CRM-master

--Fix notices on Case view page for status with filter condition
show status label instead of name in event dashboard
EventInfo: use a title and localized status names
CRM-14664: js fixes
CRM-14478 - Add generic API, "getrefcount"
CRM-14478 - CRM_Case_XMLRepository - Add getActivityReferenceCount(), getRelationshipReferenceCount()
CRM-14478 - Allow components and hooks to influence refcounts