Fix decoration behavior when passing over with button pressed

Fix the decoration resizing or moving the window when passing over it
with the mouse button pressed, but which was not clicked over the decoration.

Change-Id: If5d1d041ae6f80a07ce83bdca92dab35f721f2eb
Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
Reviewed-by: Andy Nichols <andy.nichols@digia.com>
Implement keyboard auto-repeat

Wayland does not send auto-repeat key events, so the clients must implement
it themselves. The times used here are taken from Weston's toy toolkit
implementation.

Change-Id: I13ec7799672ee5ca2904c9b18ac5ec0c8816d6fc
Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
Reviewed-by: Andy Nichols <andy.nichols@digia.com>
Make it possible to install the generated headers

Adding a header_path parameter. This will cause the scanner to generate
header includes that look for corresponding files in that path.

Also when we'r installing files, then c++ classes needs to be exported

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