Fix bug in validator that allowed total output amount to exceed total input amount
Fix regression in wallet transaction scanning
Merge pull request #21 from vikramrajkumar/upstream

Validator and wallet bugfixes