Upgrade UniValue code in rpc/rawtransaction.cpp (#51)
Brings rpc/rawtransaction.cpp
in line with latest #51 tech.
Also contains a few other nits that should be self-explanatory.
Some code is not upgraded yet because it requires changes to
core_write.cpp
, to be done later.
Test plan: ninja check check-univalue