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