Add support for base types

Add support for base types (complexContent/extension). There is limitation that base type has to be defined in wsdl before it is used.