QML: rename Compositor as WindowManager, and take C++ compositor as input property of root object

Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
QML: let the window manager do the work related to the change of a window's state

Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>