Add wayland globals

This PR adds a wayland display singleton.
Targets #74 and #75.
Still WIP!
Also here: Isn't there a errno.h constant which describes the failure better than plain `-1`?