add thread_detachInstance
Added comments describing the use of rt_moduleTlsCtor/Dtor.
added unittest
fixed breakage
1s is too long to wait for the test to complete
updated documentation per comments
Merge pull request #866 from WalterBright/fix13034

fix Issue 13034 - [Reg] core.stdc.stdio - deprecation warning with ...
Merge pull request #858 from klickverbot/test-out-of-source

test/*/Makefile: Do not assume that $(ROOT) is a relative path.
Merge pull request #857 from klickverbot/minfo-import

[trivial] Make rt.minfo import in object_.d function-local.
Merge pull request #861 from tom-tan/trusted-sys-windows-windows-GetLastError

Mark core.sys.windows.windows.GetLastError as trusted
Merge pull request #862 from klickverbot/remove-sm_clen

Remove unused Thread.sm_clen variable.
Merge pull request #868 from klickverbot/threadasm-exec-stack

Mark threadasm.S as not requiring an executable stack.
Merge pull request #859 from jasonbking/lf64

Multiple Solaris fixes
Merge pull request #860 from jasonbking/errno

Enable per-thread errno on Solaris
Merge pull request #865 from MartinNowak/tlsgc_externD

remove thread.di header
Merge pull request #874 from redstar/lstrcmp

Fix declaration of lstrcmp/lstrcmpi in windows.d
Merge pull request #869 from klickverbot/getopt-tls

Fix Issue 13057 - posix getopt variables in core/sys/posix/unistd.d should be marked __gshared
Merge pull request #876 from 9rnsr/2.066

Cherry-picking commits from master to 2.066 branch
Merge pull request #877 from 9rnsr/fix13078

[REG2.066a] Issue 13078 - [dmd 2.066-b2] AA rehash failed with shared
Merge pull request #880 from 9rnsr/2.066

Cherry-picking commits from master to 2.066 branch (for beta3)