Add wayland globals

This PR adds a wayland display singleton.
Targets #74 and #75.
Still WIP!
Where does the `errno` variable come from?