[RFR] [Rest] #62 + added 'GET classcontent definition route' and 'GET classcontent definition collection route' to ClassContentController

Same here: please take a look at ``Symfony\Component\HttpFoundation\JsonResponse``