replace factory by a recent version from Singular github snapshot

remarks:
-could not get to work showvar and others with new factory yet
-enable ntl and flint