Merge non-wallet transactions support for gettransaction RPC from bitcoin 0.7