[KFSQA-649] Improved the AccountingLineObject-related stuff so that we can add and delete lines properly and update lines that have already been added.