Implement gettxout rpc. 

This pull request adds rpc server support for the gettxout rpc. Fixes issue #141.