Allow images to be referenced from the edition

This allows writers to attach images to the publication and refer to them in the HTML version using `!!1`.

https://www.pivotaltracker.com/story/show/46067013