Now using FileList.setViewerMode in embeded apps

Text editor and ODF viewer now use FileList.setViewerMode() calls to
make sure the controls bar is restored properly to its previous state
upon closing.

CC @tomneedham 

:warning: Don't merge before https://github.com/owncloud/core/pull/5473 as it would break the text editor.