Add grab support for QtWayland::Keyboard

Adds the possibility to grab the wl_keyboard interface, similar to
pointer and touch grabs. Also includes basic unit tests

Change-Id: I665df2ab5adfe16abd6b55f2d00cd9e6dc89d039
Reviewed-by: Giulio Camuffo <giulio.camuffo@jollamobile.com>
Reviewed-by: Mikko Levonmaa <mikko.levonmaa@lge.com>
Error out if dependencies aren't met.

This ensures that a build won't become a no-op with confusing results, and no
clear indication of what the problem is.

Change-Id: Ie9ad14b8d8230cfd3b2772511b853d71f2eed977
Reviewed-by: Giulio Camuffo <giulio.camuffo@jollamobile.com>
Reviewed-by: Sergio Ahumada <sahumada@blackberry.com>
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
Fix build after QEGLPlatformContext API change

Change-Id: I7f2a72ad1430d48f54565b3996b61260756f3edf
Reviewed-by: Giulio Camuffo <giulio.camuffo@jollamobile.com>
Show the correct function name when makeCurrent fails

Change-Id: I0fb0dcdf9d9691bbda602a7cf6cd04ce2e094769
Reviewed-by: Giulio Camuffo <giulio.camuffo@jollamobile.com>
Fix resizing of shm apps

Change-Id: Iad94691317bde38603d9143f951b1b69326ab12e
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>