moved StructuredHandlerAdapter to xmltools-groovy, converted to groovy
class for better compatibility with map-to-handler conversion in
XmlToolsCategory.