Optimize test skipping for ZK 3.4 only tests on travis.

We repeatedly got timeout errors in server_version calls. On travis we
know what version of ZK was started using the environment varibales.
In a non travis environment we continue to use the server_version calls.