Added POM reformatting within buildtools/generators
 * requires new dom4j for XML pretty-printing
 * added test for tricky parts not covered by dom4j
 * fixes #291
Reformatted poms using new formatter