Transform elements with titles to sections

This transforms found instance of section, preformat, para, quote, footnote, equation, note, list, code, figure, subfigure, example, exercise, problem, solution, commentary, meaning, rule, statement, proof and table elements with title elements to sections.