Better "Transaction Reports" transaction.scm Bug #727617

As per  Geert Janssens [GnuCash developer] request here:
https://bugzilla.gnome.org/show_bug.cgi?id=727617

I have created separate patches with explanation.

See the above link as well as each patch's description for details.