Support dicts in term-lists
ADDED: \prefixtermitem and \prefixterm to Prolog mode.