This revision corrects a few errors, incorrect return value in ReleaseSemaphore and a mistake in the wait when bWaitAll = TRUE (we still need a good test for that). I'm also adding some documentation to the ntdll-internal object management api and one more test to threadpool.
This will be the last revision of the posix (gnu nptl) -based implementation because it does *NOT* work on 32-bit programs when WoW 64/32 is built due to this little bug in glibc (https://sourceware.org/bugzilla/show_bug.cgi?id=11651), but I wanted everything to be correct. It is expected to be bug-free for cases where the wine server and target program are the same ABI.