MDL-38309 move HTML generation from print_tabs() to renderer

- created renderable object tabtree that represents the tree of tabs, to replace tabobject
- created core_renderer::render_tabtree()
- change print_tabs() to use renderer function, deprecate supporting not needed functions
MDL-38309 Substitute usage of print_tabs() with renderable tabtree