Parses text and adds HTML markup around what it thinks are lists.