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

> Status: WIP
> See http://jira.ez.no/browse/EZP-23206
Is the last part supposed to be human readable? As in shown in GUI?