Output formatted as list item.

def outitem(title, elems, indent=4):
    """Output formatted as list item."""
    out(title)
    max_key_len = max(len(key) for key, _ in elems) + 1
    for key, val in elems:
        key_spaced = ('%s:' % key).ljust(max_key_len)
        out('%s%s %s' % (indent * ' ', key_spaced, val))
    out()