Extracted shared code to a new parent class.

PNG/SVG/XML  document presentations  shared some  common code  which was
extracted  to the  new Document::Presentation  parent class.  Specs were
updated to reflect this change.