Remove unused m4/libpolys-check.m4
configure: modernize cygwin check
Rewrote the LB_CHECK_LIBSINGULAR m4 macro

It should be much more robust now. Moreover, we actually
check the libSingular version now, if requested, and do
other fancy stuff.