Serialize only CTransaction data in gettransaction RPC hex

Don't include trailing implementation-specific wallet metadata.
Fixes 3a1c20b.
Merge pull request #3690 from laanwj/2014_02_gettransaction_serialize_only_tx

Serialize only CTransaction data in gettransaction RPC hex