Expose view states on api level
Provide reverse versions of wl_list iterators and some comments.
Add enough code to copy inside X11 windows.
Not synchronized yet with wayland clients as that is PITA.