Fixed up type errors
Add more extension wrappers.

Adds the BigRequests, Composite, Render, Shape and XFixes extension wrappers.
Also provides better handling of the length field when 1 length field corresponds
to multiple list elements.

Handles struct parameters to wrapper functions.