insertOrderedList: implement listifying

Apart from tests of issue #39, this CL passes all listifying tests.

PTAL
We should have another CL for editing.nodes.ancestorsUntil with unit test.