Make the test-dynload test work in the X11 version on MacOSX.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23456 57a11ea4-9604-0410-9ed3-97b8803252fd
Try to make the python bindings tests work with an out of source tree build.
This is almost ok, but it uses the schemas from the install tree.

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