tests: exit t5.pl if running against ownCloud 6

t5.pl checks the environment variable SERVER_VERSION and if that equals
"owncloud6" it bails out after a check of the sharing ocs api.