xcb: Add binding for xcb_connection_has_error

https://bugzilla.gnome.org/show_bug.cgi?id=730088
xcb: Fix depth iterator methods

https://bugzilla.gnome.org/show_bug.cgi?id=730089