-- CRM-15204, upgrade code to handle bugs related to CRM-15055

----------------------------------------
* CRM-15204: Upgrade to fix bad line item
  https://issues.civicrm.org/jira/browse/CRM-15204
* CRM-15055: Line item for membership entity should be created even when Record Payment is not checked
  https://issues.civicrm.org/jira/browse/CRM-15055
-- CRM-15204, code cleanup ann removed duplicate code

----------------------------------------
* CRM-15204: Upgrade to fix bad line item
  https://issues.civicrm.org/jira/browse/CRM-15204
-- CRM-15204, fixed syntax errors

----------------------------------------
* CRM-15204: Upgrade to fix bad line item
  https://issues.civicrm.org/jira/browse/CRM-15204
Merge pull request #4048 from pradpnayak/CRM-15204

Crm 15204