autotools: change versioning

do it independent on wayland.
Instead of hitherto dependency I will create macro for checking
wayland's version.
server: close socket when destroying display
test-runner: don't print backtrace upon SIGABRT