[ORM] getRouteByName is supposed to return a single route

The ORM provider getRouteByName method is returning an array instead of a single instance of a route. This breaks the url generator when trying to build a path by passing the route name.

The patch simply changes findBy to findOneBy to fix this.