Wayland

While waiting, I have fixed a couple of bugs regarding resource deallocation, making it more correct and perhaps more robust. Support has been already merged into Weston and people are waiting for this to be available in Raspbian to test. Thanks!