Added line items for invoices

Invoice ‘cost’ field is updated upon creation/deletion of each line item