fixes for getbalance

1. -m does not work with dict, workaround for get-balance
2. an "items()" was missing
2. value_int is not suitable, as it has to be shifted by 8 digits for BTC and 5 for EUR