generate correct complex type from lxml element

This change inspects lxml element for the xsi:type attribute when generating complex type objects from xml.
If the attribute is present, the object name is extracted from the attribute and used to look up the actual class object from the application interface classes dictionary.