FIX: Cursor leak

Cursor leaks would cause the cursor resource to be exhausted when
importing a large account tree with a lot of transactions.
Ignore <gnc:template-transactions> when importing

<gnc:template-transactions> contains Accounts and Transactions with
"template" Commodity, which would cause program to crash. Also, these
Accounts and Transactions seems not to be real Accounts and Transactions
of the book.
Updated version numbers for v1.4.1 release
Merge remote-tracking branch 'upstream/develop' into develop-fefe