Split pure functions out of RPCHandler into ripple_rpc/impl.