CONTRIB-5298 :: Small bugs in new events system

Signed-off-by: Joseph Rézeau <moodle@rezeau.org>
CONTRIB-5315 :: Do not allow page breaks in first position in a questionnaire.

Signed-off-by: Joseph Rézeau <moodle@rezeau.org>
CONTRIB-5304 :: Tabs Misaligned When Viewing Individual Responses + Added print popup to Preview page.

Signed-off-by: Joseph Rézeau <moodle@rezeau.org>
CONTRIB-5311 :: Remove "submit" capability from manager role

Signed-off-by: Joseph Rézeau <moodle@rezeau.org>
CONTRIB-5263 :: The message body in non-respondents is inappropriately sized for certain text editors

Signed-off-by: Joseph Rézeau <moodle@rezeau.org>
CONTRIB-5319 :: Editing question throws log event error if editing is cancelled
Plus : modified notice string in classes/event/question_created.php to add "modified".

Signed-off-by: Joseph Rézeau <moodle@rezeau.org>
CONTRIB-5320 :: Wrong display of score for personality test questionnaires

Signed-off-by: Joseph Rézeau <moodle@rezeau.org>
CONTRIB-5351 fix preg usage
CONTRIB-5403 fix errors from orphaned surveys.