Fix qstr in objlist.c; add more tests for list.index.

list.index fails on an edge case.