(endElement): Changed the parser a bit to always prefer the transaction commodity over the account commodity.
(endElement): Changed the parser a bit to always prefer the
transaction commodity over the account commodity.

paulbdavis/ledger,ledger/ledger,duncanmortimer/ledger,paulbdavis/ledger,jwakely/ledger,duncanmortimer/ledger,duncanmortimer/ledger,paulbdavis/ledger,afh/ledger,jwakely/ledger,jwakely/ledger,jwakely/ledger,paulbdavis/ledger,paulbdavis/ledger,duncanmortimer/ledger,jwakely/ledger,ledger/ledger,duncanmortimer/ledger,ledger/ledger,afh/ledger,paulbdavis/ledger,duncanmortimer/ledger,paulbdavis/ledger,jwakely/ledger,ledger/ledger,afh/ledger,afh/ledger,duncanmortimer/ledger,ledger/ledger,afh/ledger,jwakely/ledger