Only publish manuals if its the correct version

As we are now queueing manuals for publishing we need to protect against changes happening between an editor clicking Publish and the worker actually performing the publish.

We also add the version number to the logs as its useful information to know about.