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.
Merge pull request #1439 from owncloud/startviewer

Now using FileList.setViewerMode in embeded apps