display the value for inputs too

I needed "value" on inputs as well for your bitcoin-tx-spent-db code to work.

Please check my logic?  I didn't change much code here and I've tested that the code works in the simplest situation, but I want to be sure we're not doing anything dumb logically here.