Bug 555182 - Security Type template hidden

Part 1: Prevent users from creating commodities of type "template"

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

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

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

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23691 57a11ea4-9604-0410-9ed3-97b8803252fd
Bug 721290 - SX Editor: Pressing "Enter" too soon hides transaction

The problem was that r23585 was a bit too broad in what it excluded, so
narrow it down to require exactly one split and that that split's
account is NULL.

Note that this will still cause the split to disappear from the SX
editor if one creates a transaction with no splits or with one that has
no account: A split will be created in the appropriate Orphan account.
It will be visible there and in the General Ledger so that it can be
easily deleted.

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