updated balance queries to minimize layers between actual balance and returned value (#875)
updated balance queries to minimize layers between actual balance and returned value (#875)

* updated balance query to not have any layers between transactions and updates to a table holding balances

* generalized query

* set column name

* updated votes query to make balances endpoint respond faster
brave-intl/bat-ledger,brave-intl/bat-ledger