Bug #6052

- refactoring the way to get the information that a publication is a clone
- versionning ignored is publications are always visible parameter is enabled