Lists and type attribute

Added support for unordered and ordered list with detection of the
‘bullet’ used to set the list type attribute.