[23415]Small fixes to make the Windows build work again after r23412

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/2.4@23503 57a11ea4-9604-0410-9ed3-97b8803252fd
[23438]Bug 644044 - Lots: SQL backend loses link to Gain/Loss Txn

Gotta edit/commit the source transaction as well as the gains txn.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/2.4@23504 57a11ea4-9604-0410-9ed3-97b8803252fd
[23466]Ensure that all KVP changes are properly marked dirty and committed.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/2.4@23505 57a11ea4-9604-0410-9ed3-97b8803252fd
[23392]Use guile executable as found during configure for tests and some support scripts

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/2.4@23506 57a11ea4-9604-0410-9ed3-97b8803252fd
Make gnucash 2.4 buildable on a system that has both guile 1.x and guile 2

- 2.4.x won't run with guile 2, so bail out when that version is found
- allow the user to manually override the guile version to use by
  setting environment variables GUILE and GUILE_CONFIG

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/2.4@23507 57a11ea4-9604-0410-9ed3-97b8803252fd
[23501]Bug 627575 - Stylesheet names with non-alphanumeric characters and saved-reports -- addendum

Work around a bug in guile 1.8. It escapes spaces in symbols
when printed to a string, but can't convert that string
back properly in a symbol

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