Port code from pom-version-manipulator to write pom files with comments ...

...and without reording