Implement gettxout rpc.

Use new error type defined in Roasbeef/btcjson@4dc9db809