guess mimetype on touch
Merge pull request #11684 from owncloud/guess_mimetype_on_touch

guess mimetype on touch
Lazy initialize external storages

Fixed the following external storages to not connect in the constructor,
but do it on-demand when getConnection() is called.
- S3
- SWIFT
- SFTP
introduce SessionMiddleWare to control session handling via an annotation
Merge pull request #11694 from owncloud/extstorage-lazyinit

Lazy initialize external storages
Merge pull request #11687 from owncloud/appframework-session-annotation

introduce SessionMiddleWare to control session handling via an annotatio...
Refactor file sharing public link handling

fixes download issue introduced by #10755

Conflicts:
	apps/files_sharing/public.php
Rename SharingCheckMiddleware.php to sharingcheckmiddleware.php

Make autoloader happy for now…
Fix unit tests
Added download size on public sharing
Make declaration compatible
Add exit to prevent the dispatcher to add headers as well
Tear Down properly

Let's hope that fixes the tests
Cleanup
Add "UseSession" annoitation introduced with https://github.com/owncloud/core/pull/11687