MDL-43089 consistent use of html_writer::div && improve qbank ajax.