wayland: Remove unused code
wayland: Add support for resizing windows
wayland: Destroy window context before clearing the egl surface
Merge pull request #321 from ricardomv/wayland-resize

Add support for resizing windows on Wayland.
Merge remote-tracking branch 'upstream/master'