Remove Sys_Quit. Com_Shutdown is the program exit point, and libcommon.la doesn't depend on libsys.la. Also, Sys_Quit wasn't dispatching to Com_Shutdown which was a bug.
Fix bad command line parsing in q2wmap. Use GList for q2wmap -mat instead of statically allocating texinfos. Fix Com_Shutdown(NULL) crash.