fix XGetWindowProperty: now returns the actual_type and the actual_format beside the data and the count.
Simplify GetWindowProperty to require only the display, window and property. Result types are guessed from the actual_type and actual_format, and returned in a list.
Add GetWindowProperty/type, like GetWindowProperty, but the FFI C type can be explicitely given.