Added custom build rule for lex files to output header.

Reorganized lex options in cat2html.l.  Added %option full and removed
%option debug.