Optimize document edition loading

Document IDs can be more efficiently queried from the Panopticon
mappings.

A document only ever needs a reference to the latest, potentially draft
edition and the previous published version.

Rather than loading all editions we can provide just the previous two.
Merge pull request #67 from alphagov/optimize-document-loading

Optimize document edition loading