Add support for custom elements and attributes, improve XML tests.
Add support for AnyElement and AnyAttribute, as well as custom serialization if XAttribute and XElement is not the desired representation format.