change API for templated aaLiteral

- let the compiler pass keys and values as slices
  like for the existing _d_assocarrayliteralTX call

- add _aaGetZ which is the same as _aaGetX but also
  get's passed an additional pointer to the typed
  aaLiteral!(Key, Value) function
Fix overhead of trace_init being part of the first trace_pro call
Merge pull request #1048 from jcd/tracefix

Fix overhead of trace_init being part of the first trace_pro call
Merge pull request #1046 from MartinNowak/aaLiteral

change API for templated aaLiteral
Consider TLS_DTV_OFFSET when calculating the TLS range.

The dynamic thread vector (DTV) pointers may point 0x8000 past the start of
each TLS block. This is at least true for PowerPC and Mips platforms.
Merge pull request #1049 from redstar/elf

Consider TLS_DTV_OFFSET when calculating the TLS range.
Fix typo in type name.
Add ELF headers for Solaris.

These are the headers which deal with the file format.
Merge pull request #1051 from redstar/solaris_elf

Add ELF headers for Solaris.
Merge pull request #1050 from redstar/typo

Fix typo in type name.
More Solaris additions.

Scanning through the sources I found some places where declarations for Solaris
are missing. This is not complete!
Merge pull request #1053 from redstar/solaris_additions

More Solaris additions.
fix Issue 13809 - dup no longer works with types with postblit and destructors

- nested function literal is also assumed to be pure
  therefor the compiler complains about an impure destructor

- move the typeof to a separate _PostBlitType template
  as we only use it to get the postblit attributes
Merge pull request #1054 from MartinNowak/fix13809

fix Issue 13809 - dup no longer works with types with postblit and destructors
Add unittest for issue 13809
Merge pull request #1055 from 9rnsr/fix13809

Add unittest for issue 13809
merge changes from upstream