Adjust version check.

Fix http://trac.openmicroscopy.org.uk/ome/ticket/12045

To test:
 * Open client and try to connect to a 5.1. server e.g. trout. This should not be allowed
 * Try to connect to 5.0.x client: test against gretzky and nightshade