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.