cenaID is permanent as default.
improved the logic of save; save until all entities and links are saved,
or until both unsaved links and entities remained unchanged.
fixed test for new and improved save method.