Allow getrawtransaction result to be string.
Allow getrawtransaction result to be string.

The getrawtransaction command has recently added a verbose flag which
alters the output.  The previous code made use of the "Hex" field of the
TxRawResult to return the information, but this is not consistent with the
original getrawtransaction RPC call which returns a string when verbose is
false and the TxRawResult JSON object when it is true.

This commit corrects that by allowing the result for getrawtransaction to
be either form.

Stash-Crypto/btcd,ppcsuite/ppcd-old,btcsuite/btcd,mathiasrw/btcd,BitGo/prova,stevenroose/btcd,cjepson/btcd,wallclockbuilder/btcd,pkothbauer/btcd,cqswxj2013/btcd,jrick/btcd,Stash-Crypto/btcd,tb00/btcd,jimmysong/btcd,Cleawing/btcd,dajohi/btcd,hectorj/btcd,CryptocurrencyCabal/htcd,Dirbaio/btcd,davecgh/btcd,ppcsuite/ppcd-old,1d4Nf6/btcd,qchain/btcd,jcmincke/dcrd,dajohi/btcd,dan-da/btcd,1d4Nf6/btcd,wallclockbuilder/btcd,DanielKrawisz/btcd,btcsuite/btcd,ppcsuite/ppcd,runeaune/btcd,aakselrod/btcd,Dirbaio/btcd,adiabat/btcd,cjepson/btcd,decred/dcrd,stevenroose/btcd,Roasbeef/btcd,danoctavian/btcd,BitGo/prova,jrick/dcrd,cqswxj2013/btcd,jongillham/btcd,jcmincke/dcrd,toddfries/btcd,soapboxsys/ombfullnode,mathiasrw/btcd,CryptocurrencyCabal/htcd,davecgh/btcd,jimmysong/btcd,ltcsuite/ltcd,glv2/ppcd,ppcsuite/ppcd,jcmincke/dcrd,aakselrod/btcd,btcsuitereleases/btcd,qchain/btcd,sysbot/btcjson,soapboxsys/ombfullnode,glv2/ppcd,hectorj/btcd,sysbot/btcjson,dan-da/btcd,Roasbeef/btcd,jrick/btcd,Cleawing/btcd,pkothbauer/btcd,tb00/btcd,decred/dcrd,runeaune/btcd,DanielKrawisz/btcd,jrick/btcd,toddfries/btcd,adiabat/btcd,dajohi/btcd,ltcsuite/ltcd,Dirbaio/btcd,jrick/dcrd,jongillham/btcd,btcsuitereleases/btcd,danoctavian/btcd