Issue #81: fix history

The refactor with colorvalue screwed up some input values. Fixed this.
Merge pull request #82 from jimmysong/81

Issue #81: fix history
Merge branch 'qt' of https://github.com/fanatid/ngcccbase
fixed gui send
Issue #83: Fix bug with history

Altered the output to show precisely how much was sent and received by each address we care about.
Note that the history now returns the outindex and better ordering.
Issue #75: color mempool transactions

Added a command-line command "addressbalance" which gives you the balance of each address instead of the sum of all the addresses of a particular color.
Added every send transaction to the utxo db, so the rest of the system can know about it.
After send, that command gets scanned right away.
The scan command will erase the mempool transactions in utxodb, which means they need to get rebuilt.
Merge pull request #85 from jimmysong/83

Issue #83: Fix bug with history
Merge pull request #86 from jimmysong/75

75