Files sharing actions + navigation fixes

This PR fixes issues with file actions after upload and also navigation to subdirs and breadcrumb clicks which were partially broken.

The fix for the navigation disabled ajax nav. Ajax nav is planned for OC7 for the public files app.

Please review @kabum @karlitschek @schiesbn @DeepDiver1975