Better Redis version detection for test suite

redis-server may not be available for the end users and actually is
required sudo to be executed. However, they have access to redis-cli
which ships with Redis and also provides version info, but in a bit
different format.