insertOrderedList: Refactoring

* Renamed wrapByOrderedList to execInsertListCommand
* Separate processes in execInsertListCommand into some functions (processList, processNodeInList and so on)