re-enable tab completion in DictList

A more robust method of tab completion works for both py2 and py3