decoderawtransaction: show gettxout info of inputs of raw transactions

When decoding raw transactions, it is useful to have information about
the inputs beyond their txid and vout. If this information is available,
this patch adds it to the json output of decoderawtransaction.