Fix ODF viewer to work with new FileActions

- removes the FileActions warnings.
- makes the viewer work from the sharing overview sections
- makes the viewer work on the public page.

@VicDeo @MorrisJobke