Global replacement of debugtools.h by wine/debug.h.
Added some stubs and header information. Fixed some return codes.