Use java.xml.transform to produce XML.

Drop firnesse.util.XmlWriter and use 'javax.xml.transform.Transformer` to do teh XML seralization.