Handle properly the nested numbered lists numerals.
Refactor a bit the list and list item rendering codes.