Fix passing dicts of options to KazooClient.__init__()

- Check if command_retry and connection_retry are dict before anything else
- Create KazooRetry from dicts before checking the sleep_func so that passing
  dict or KazooRetry ends up working the same.