Convert tactics module until GEN_TAC function
Complete conversion of tactics module

Notes:
- type goal should be '(string *thm0) list * term'. Since using 'thm' is
redundant.
- type goalstack should be 'goalstate0 list' to be less redundant.