Return the most recent edition for a given doc by version_number

https://www.pivotaltracker.com/story/show/66787414

We're also archiving old editions but this is belt & braces.