Global replacement of debugtools.h by wine/debug.h.
BeginPaint to dlls/user. Fixed bug in paint count handling.