MDL-43089 Create Quiz Edit Renderer

First iteration built on existing data layer. Needs MDL-43098
new data layer to go further

Just implement the course edit view as the edit quiz view. Will later refactor to reflect quiz

Conflicts:

	mod/quiz/edit.php
MDL-43089 Create Quiz Edit Renderer (2) tidy up
MDL-43089, general improvements including add menu, paging, repaginate, fix drag and drop

The list of improvements include:
display question title, description and marked out of field
adding the add-menu to editing page
adding questionbank to the add menu
adding page number and getting question_info
tidy up menuw and paging
Update data layer to fit MDL-43749
moving the addmenu to left and improve paging
Implemented drag and drop of slots
Adding rapaginate class and its unittest
repaginate to the original pagination after drog-n-drop
update question maxmark using ajax
Moving page number within li and adding CSS for opacity
fixup use of deprecated function.
sorting out the error messages on quiz summary page and questionbank
Putting ppage number to a div and getting rid of css
Move the edit renderer into classes.
MDL-43089 major refactor. Concept works but needs a good tidy up.

Generally fix errors, move files, create classes including:
remove junk use statement.
Move editmaxmark string to quiz lang file.
move rendering code from lib.php to renderer.php.
Fix a whole bunch of codechecker issues.
corrected dummy test sections
move code from renderer->editrenderer
Fix remove question.
move some bits editlib->edit_renderer
building relevant js files
Fix maxmark editing
More tidy up. Update grades in rest.php when needed.
finish this phase of cleaning editlib.php
fix max mark editing.
fix drag slot errors from refactor
MDL-43089 Adding some behat tests.

also Make add question add item on the same page.
MDL-43089 Another refactor and improve UI

Including:
correct namespacing in update max mark
drag drop slots update page
Remove the slot edit menu. Put delete icon in its place.
make marked_out_of_field use only one span
background colours for slots
give spacing to slot edit icons
include repaginate options on quiz edit page
remove unused class
increase width of activity details
put save grades form elements on same line
removed unnecessary classes and code
MDL-43089 join pages mid first draft
add join_page method in js
removed unused code