improve wallet scan_input API
Merge pull request #19 from vikramrajkumar/upstream

Updates to enable easier creation of derived CLIs
Merge pull request #18 from HackFisher/patch_scan_input

improve wallet's scan_input API
Fix bug in validator that allowed total output amount to exceed total input amount
Fix regression in wallet transaction scanning