Move table problem declarations in table-problems.h
In table_problem_base::common_type_setup replace pre by pre_table_problem().name()

Really weird pre is not defined anywhere!!! Anyway, using
pre_table_problem().name() is the proper way to go about that code.