introduce SessionMiddleWare to control session handling via an annotatio...

...n

refs https://github.com/owncloud/core/issues/11566

@LukasReschke @Raydiation THX
Makes sense to register it as the last middleware