Revert "Mercurial Integration is now done with java native library hg4j. Refactoring to clean up the code and to allow easy adoption of other java native libraries in the future. Some unit tests added and classes moved to dedicated packages for better maintainability"

This reverts commit d9bab9cf9d961919fe1141b52a1213259ea15cb3.