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
MDL-43089 fix empty quizzes.