NOJIRA Fix caching issues that prevented changes in element containers from being applied to the corresponding user interfaces immediately

We now flush the element set cache for the current record and its
parent every time a change is saved.