GRAILS-11175 - improve XML binding

A problem was occurring when binding XML to a collection of non domain objects and the XML only contains a single element to put in the collection.