Ensure that all KVP changes are properly marked dirty and committed.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23466 57a11ea4-9604-0410-9ed3-97b8803252fd
Release 2.5.90

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23467 57a11ea4-9604-0410-9ed3-97b8803252fd