Moved window delegate creation to createWindow.
Added window hiding before thrd_join.
Added missing X command flushing.
Nomenclature fix.
Documentation fix.
Ensure out arguments are always set.
Fixed revert of e7c7ebf665.

Fixes #269.
Fixed missing dereference in b29fbc82c2.
Removed duplicate fallback.
Removed flicker-inducing workaround.

Fixes #267.
Introduce experimental Wayland backend

This patch introduces a new backend that enables GLFW applications to
run on Wayland. For now, only output is supported (windowed and
fullscreen). Pointer cursor management, input devices, clipboard etc are
not supported yet.

There are some concepts that can not be supported, more specifically
glfwSetWindowPos, glfwGetWindowPos and glfwSetCursorPos, as they are not
supported by Wayland.

This patch also changes the time and joystick implementations used by the
X11 backend to be shared between the Wayland backend and the X11 backend.
Removed unused file.
Removed duplicate addition of POSIX time header.
Made Wayland header macro structure match X11.
Fixed option value.
Separated joystick state from window system state.

This is partially in preparation for pending support for additional
joystick APIs like XInput, DirectInput and IOHID.
Updated change log.
Formatting and cleanup.
Shortened Wayland platform prefix.
Wayland error reporting work.