Xmllint complexType test, better XML output (iolists), refactorings of wsdler_generate (mixing changes, sorry)