globals: hide deprecated warrnings

wayland has deprecated wl_buffer some time ago and because of that
including wayland-client-protocol.h makes compiler flood me with
warrnings.
autotools: remove COMPILER_FLAGS

these flags should be set by user in CFLAGS
tests: add wl_registry tests

test annoucing new globals, removing globals and binding to illegal
globals