wayland: Support for QtWayland touch input events

When running with QtWayland (qmlcompositor) as Wayland server,
touch inputs are reported via the qt_touch_extension protocol.

The files wayland-qt-touch-extension.{c,h} are auto-generated
from the XML definition src/extensions/touch-extension.xml in
qtwayland (git://gitorious.org/qt/qtwayland.git).
wayland: Support for QtWayland surface extension

Add support for the surface_extension protocol from QtWayland,
with qt_surface_extension and qt_extended_surface interfaces.

Right now, this only adds support for handling "close" events on
windows, but other features (windowflag / OverridesSystemGestures)
could be implemented using this integration in the future.

The files wayland-qt-surface-extension.{c,h} are auto-generated
from the XML definition src/extensions/surface-extension.xml in
qtwayland (git://gitorious.org/qt/qtwayland.git).
wayland: Support for QtWayland windowmanager

Add support for the windowmanager protocol from QtWayland.

This handles sending the SDL_QUIT event when the window
manager sends the corresponding qt_windowmanager.quit event.

The files wayland-qt-windowmanager.{c,h} are auto-generated
from the XML definition src/extensions/windowmanager.xml in
qtwayland (git://gitorious.org/qt/qtwayland.git).