Delete report function: use less ambiguous variable name

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23075 57a11ea4-9604-0410-9ed3-97b8803252fd
Return success or failure when writing report templates to save file

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