HORNETQ-1146 use XMLUtils.* to ensure trimming.
Fixes https://community.jboss.org/message/799295
Merge pull request #884 from FranciscoBorges/configuration

HORNETQ-1146 use XMLUtils.* to ensure trimming.