CRM-14197 store contribution id in line item table for data accessibility

This replaces https://github.com/civicrm/civicrm-core/pull/2976

This will mean it is possible to access line item data directly from contribution table. The membership payment & participant payment tables are redundant with this although removing them will be separate as we are trying to get the 'smallest chunk' that stands alone