Fix EZP-22612: UrlAlias with shared translations

This issue resolves https://jira.ez.no/browse/EZP-22612

Second part of https://github.com/ezsystems/ezpublish-kernel/pull/824, with:

* unit tests
* more docblock descriptions
* improved regression test by removing assertion that is not relevant for the case