Global replacement of debugtools.h by wine/debug.h.
Got rid of internal heap flags. Reimplemented MapLS to not depend on the segptr heap.