Pull request for collective.documentviewer

Hi all, there is a very good PR for collective.documentviewer:

Looking at it it makes sense but I am not able to test it in some meaningful environment because I do not use the package anymore.

I invite anybody who uses collective.documentviewer to take a look at it and test the branch.