MDL-43089, fixed and add unittest to repaginate
MDL-43089 move edit_page to the top of the renderer. Delete two unused methods.
MDL-43089 renderer: Move top stuff to top, and bottom stuff to bottom.
MDL-43089 finish reordering renderer.
MDL-43089 fix missing argument to repaginate button.
MDL-43089 add/remove break method refreshes page numbering correctly
MDL-43089 move lots of logic out of the renderer.
MDL-43089 fix bugs in last commit.
MDL-43089 remove lots of obviously obsolete CSS.
MDL-43089 move some more logic out of the renderer.
MDL-43089 more renderer cleanup
MDL-43089 more renderer clean-up
MDL-43089 move some display methods locallib -> renderer