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
Add headers for link time ELF declarations on Solaris.

These header files deal with ELF structures at link time.
Also updates the makefiles for all ELF header files.