Switch to GPL-3 as license to be able to integrate Apache-2.0 licensed bits

Signed-off-by: Simon Busch <morphis@gravedo.de>
Implement necessary bits to register a window with our compositor

Signed-off-by: Simon Busch <morphis@gravedo.de>