RPC client option: -rpcwait, to wait for server start

I often want to run RPC command(s) as soon as I've started bitcoind.

This lets me do that without annoying sleeps or grepping debug.log; e.g.

    bitcoin-cli -rpcwait getinfo