GetProcAddress - implemented LdrGetDllHandle and made use of it in GetModuleHandle - removed MODULE_DllThreadDetach from loader/module.c (should have been removed in a previous patch)
winternl.h.
Global replacement of debugtools.h by wine/debug.h.
kernel32 functions, plus a few small cleanups.
NtAllocateLocallyUniqueId - implementation or stubs for NtAccessCheck, NtSetSecurityObject, RtlClearBits, RtlEqualPrefixSid, RtlFindClearBits, RtlFormatCurrentUserKeyPath, RtlGetControlSecurityDescriptor, RtlIdentifierAuthoritySid, RtlImpersonateSelf, RtlInitializeBitMap, RtlInitializeGenericTable, RtlMakeSelfRelativeSD, RtlPrefixUnicodeString, RtlSetBits, RtlUnicodeToMultiByteN, RtlUpcaseUnicodeStringToOemString, RtlUpcaseUnicodeToOemN, RtlValidSid, RtlxUnicodeStringToOemSize - corrected most RtlString* functions, added documentation - more fixes and partial implementations