OO-623,OPENOLAT-80: enhance the REST API for managed groups and courses
Merge with c663310090d75ec45589e9a0a3b8e67970cab835