Rewrite without dom4j dependency.

All migrations are performed through the org.w3c.dom JAXP classes.

The VersionedDocuemnt does not implement the DOM anymore, nor the
Serializable interface.

The method clone() has been removed.