add requirements to routing

Conflicts:
	tests/lib/appframework/routing/RoutingTest.php
Merge pull request #8151 from owncloud/backport-8137-stable6

add requirements to routing