add a RestUtils Factory and copy the RestUtils from SSC to make a RestController smaller

Conflicts:
	etc/symfony/services.yml
require doctrine bundle because its already used in services

Conflicts:
	composer.json