Added isPublic flag in files_sharing template

To make it possible for apps to find out whether they are running in
public mode, the flag "isPublic" will now be present in the DOM.

This is required to disable the editor app in public mode to fix #5059
Merge pull request #5178 from owncloud/sharing-ispublicflagintemplate

Added isPublic flag in files_sharing template