amounts cleanups, and support zeros with commodity
web: show right zero commodities on register chart

If zero amounts are recorded with a commodity, any resulting zero
balances appearing in the register chart will have the proper commodity
and colour. (This is the first and so far only case of hledger
preserving the commodity of zero amounts.)
add missing dbgN helpers