Parse out document IDs if the entries have them

As the main record passed into most of these is Edition, the IDs in Atom
feeds are constantly changing as new published Editions are added. This
should stabilise the numeric portion of the ID to the original
Document.id, which won't change from Edition to Edition.
Merge pull request #153 from alphagov/fix-atom-ids

Atom feed entries should have consistent IDs