Implemented view attribute, fulfilling enhancement request #29.

Implemented new_window attribute to allow documents to be opened in a new window.

Implemented lightbox preview icon for images so full document previews can still be navigated to correctly from the component.