modified balances.dat format to provide for multiple currencies

I have not fully tested this, but it did work in prelim tests... I should really work out some unit tests for persistence using regtest mode.