EZP-23206: prevent parallel publishing of versions of one content

> Status: WIP
> See http://jira.ez.no/browse/EZP-23206