fix undefined index errors if public share view
disable trahs in files_sharing/public.php
Merge pull request #5980 from owncloud/public_view_fixes

Public view fixes