clean up script/gen_term_table.py, use common help and docstring
update script/gen_term_table.py: simpler table, correct links to term classes