Rename deftype macro and check-type function as they conflict with new emacs
builtins.

Run emacs with -Q to prevent any surprise el file loads.

Replace use of removed YYLEX macro with direct call to yylex.