Transform lists in paras into inline lists and block lists

Previously lists in paras were all transformed into inline lists.  Now
checks against @display attribute and use divs instead of spans if it's
a block list.