Add formspec table

Rename engine.get_textlist_index to engine.get_table_index