shoring up unit tests
unit tests all repaired!
ReferencedImage fix during migration

-during migration, don't just flag new images as `ReferencedImage`s  all images on the page should be there.
parse package XML for thumbnails, and return them through endpoint