Compositor: Fix refresh rate

Wayland output defines refresh rate in millihertz (int) while Qt uses Hz
(float). Make sure all integer APIs are using millihertz, and covert Hz
values to mHz when passing from Qt.

Change-Id: I5886f5618680d99db6fc106dd7b8998b00a2face
[qtwayland] Use %qmake5 macro.
[qtwayland] update to upstream stable/5ffefaafc59c4ed7a99503449b9c47944390961a
Squashed 'qtwayland/' changes from 3b0b90b..5ffefaa

5ffefaa Constrain window geometry
0643eb7 Set window state on platform window creation
f404c9e Just exit instead of asking the application to quit when the connection goes down.
b875230 Allow to set a fixed DPI for the screen
1fa8c4d Add missing errno.h include
f91af01 Wayland platform: Do not crash when opening a popup without the mouse
67d9980 Fix building xcomposite plugins with pkg-config
9bbfb94 Allow to customize enabled compositor extensions
330c429 Compositor: Fix refresh rate

git-subtree-dir: qtwayland
git-subtree-split: 5ffefaafc59c4ed7a99503449b9c47944390961a
Merge commit '477ff8e1324c16bcbbcaf4e6a287223f6cfe5ccc'

Conflicts:
	qtwayland/src/compositor/wayland_wrapper/qwlcompositor.cpp
Revert "Allow to customize enabled compositor extensions"

This broke the build.
This reverts commit 9bbfb94ccd7d7d9c8fc0de377d914149283e4d7b.
[qtwayland] Dynamically grow buffer pool if exhausted

In some cases (when clients are not waiting for frame events)
the buffer pool can become exhausted. If this happens, grow
the pool but print a warning. It is likely that a client is
misbehaving.
Merge pull request #22 from mikkoharju/pool

[qtwayland] Dynamically grow buffer pool if exhausted
Revert "Set window state on platform window creation"

This broke fingerterm launch due to infinite recursion thanks to flush.
This reverts commit 0643eb7473b60449bcedb8b9eaac1adebcf5962c.
Revert "Revert "Set window state on platform window creation""

This reverts commit 1c1c7f08e6af2605b74fe6ebe2afd97918b003ff.
wayland-egl: Don't trust EGL implementations to resize EGL window surfaces

Apparently in some EGL implementations surface caching manages to ignore
surface resizes, so it is safer to re-create the EGL window surface upon
window resizes. This should not impose a big performance issue as resizes
are relatively rare and usually one-time operations.

Signed-off-by: Kalle Vahlman <kalle.vahlman@movial.com>
Merge pull request #24 from kvahlman/surface-resize-fix

wayland-egl: Don't trust EGL implementations to resize EGL window surfac...
Enable blending.