Force the new edition to reload

This works around a potential bug in Rails' handling of optimistic
locking when incrementing a counter cache - it bumps the lock_version
property when updating the cache, which causes the current object to
become stale.

We're using counter caching on publications which are part of a document series.
Fix lock_version logic in repairer

We actually want to minor_version the edition after reloading it, as
reload resets the minor_version flag.

This also adds a test that verifies the behavior.