Fix some missing header includes to make headers stand-alone
presolve: Add missing function declarations in header file

A handful of non-static functions in presolve.c are missing from the
header file.
qsopt: Make TYPE_grab_cache() public since it is used in exact.c

Changes TYPE_grab_cache() to TYPE_QSgrab_cache() and adds the
function to qsopt.h.
exact: Include header files instead of repeated declarations
Makefile.am: Only generate template symbols from header files

Since all global symbols should now be defined in header files it is
sufficient to generate the list of template symbols from these files.
Fix sprintf call with missing format string
lp,mps: Remove assignment to self in loops
eg_io: Remove unused EGmvar()

It is not clear what the purpose of this function is, and it is
generating compiler warnings because va_start() is misused.
Removing the function.
exact: Remove massive header import in exact.h
Makefile.am: Add warning to all autogenerated files
esolver: Add headers missing on linux platform
Fix sed template warning generation at top

The previous Makefile.am rule did not produce a correct sed rule
on some platforms. Changing the single-quotes to double-quotes
seems to produce the correct rule on all tested platforms.
Add program to automatically test LP/MPS problems