The RestRouteLoader now first check if the resource is a service in the container before checking if it's a class name

That allows to register controller as services in the container and use them in routes, even when we register them by their class name in the container.
Merge pull request #743 from mnapoli/controller_as_services

Allow controller as services, even when the service ID is the controller class name