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

...n

refs https://github.com/owncloud/core/issues/11566

@LukasReschke @Raydiation THX
i.e.:

```php
	public function beforeController($controller, $methodName) {
		print_r(\OC::$server->getSession());
		exit();
	}
```