Fix key handling.

Use the keymap sent by the compositor and improve the way the text
and the Qt::Key of the keysym is calculated, making the keypad work.

Change-Id: Icc4667dab0649ce47792c512fbcaa0193e2ffd45
Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
Reviewed-by: Jørgen Lind <jorgen.lind@digia.com>
Reviewed-by: Jan Arne Petersen <jan.petersen@kdab.com>
Reviewed-by: Andy Nichols <andy.nichols@digia.com>
Add support for non default Wayland EGL implementations

There are some Wayland EGL implementations (i.MX6 Vivante) which support
Wayland EGL but do not use eglBindWaylandDisplayWL() to bind the wl_display
to the EGL display. They also do not contain EGL_WL_bind_wayland_display in
EGL_EXTENSIONS. Add support for a QT_WAYLAND_IGNORE_BIND_DISPLAY environment
variable to support such implementations.

Also improve error messages in WaylandEglIntegration::initializeHardware().

Change-Id: I714af939d0eae14a6879ffb2856978476cbaf26b
Reviewed-by: Jørgen Lind <jorgen.lind@digia.com>
Reviewed-by: Andy Nichols <andy.nichols@digia.com>
Make test compile with Wayland 1.2

Tests still fail when running like before.

Change-Id: I9c0a5e8068fa7af7abc0018e6e9c4f08aa39533b
Reviewed-by: Andy Nichols <andy.nichols@digia.com>