CONTRIB-4192_24 :: Make questionnaire/index.php display questionnaires in Activity block more "standard"

Signed-off-by: Joseph Rézeau <moodle@rezeau.org>
Merge remote-tracking branch 'remotes/origin/CONTRIB-4192_24' into MOODLE_24_STABLE
CONTRIB-4244 :: Returns the number of the section in which questions have been answered in a response FAILS

Signed-off-by: Joseph Rézeau <moodle@rezeau.org>
CONTRIB-4245 :: Notice: Undefined variable: resid

Signed-off-by: Joseph Rézeau <moodle@rezeau.org>
CONTRIB-4251

Signed-off-by: Joseph Rézeau <moodle@rezeau.org>
CONTRIB-4251 (fix #2)

Signed-off-by: Joseph Rézeau <moodle@rezeau.org>