Use filters in viewer

Fixes blank document content described in https://github.com/owncloud/documents/issues/291