Use general structure provided from islandora_paged_content.
Avoid issues if an object is not passed in.
Merge pull request #10 from adam-vessey/7.x

Use general structure provided from islandora_paged_content.
Merge branch '7.x' of git://github.com/Islandora/islandora_openseadragon into 7.x
sed fix