Better detecting of remote changes for external shares

- Use the etag to detect changes instead of the less reliable mtime
- Detect changes to permissions of the share
- Only check the root of the storage since we can rely on etag propagation

Fixes #9086

cc @PVince81 @DeepDiver1975 @schiesbn