changed Diagram to Document
fixed unit tests to reflect diagram to document
added iframe to Document show page (shows a preview of the document)