Add declarations for Solaris.

This fixes all druntime issues except section definition.
Add missing network declaration for Solaris.

These are required to compile std.socket.
(cherry picked from commit 7a16090551acb81a5b0e5a173e3d9280718378d5)
Add more Solaris declarations.

Add missing declations in `core.sys.posix.utime` and `core.sys.posix.utime`.
(cherry picked from commit 8317b7758a2d2ef85280e71ae51172c94116d13c)
Fix typo in core.sys.posix.grp

The thread-safe function to get the group is is named getgrgid_r and not getgruid_r.
(cherry picked from commit 3c9690dfa6be312354461dd59cffddd310509a89)
Add Solaris specific declararions for dlfcn.

Add definitions to core.sys.posix.dlfcn and add new modul core.sys.solaris.dlfcn.
(cherry picked from commit 77a8c8aee32aabed8cf6aa3913f62ecda9feffac)

Conflicts:
	mak/COPY
	mak/MANIFEST
	mak/SRCS
	win32.mak
	win64.mak
Added Solaris definitions for various stdlib-defined functions
(cherry picked from commit 3fadb55bd52b5ae9eb9f4358272c653dea3642ff)
Added LC_ values for Solaris
(cherry picked from commit c2f0222aadf38591caf6f98c4dc1899fb286dd21)
Add support for manipulating thread priority on Solaris
(cherry picked from commit 5ed6e97238e8f4427d89a77268877b34be4b6af5)
Add ucontext_t support to Solaris
(cherry picked from commit 6681dee175b4fdfbf8e4f9d106a85bf9a6d78d17)
Add Solaris support for C fenv interfaces
(cherry picked from commit ae4fb728c4547de7102597d60ed6d3645d7d7fd2)

Conflicts:
	src/core/stdc/fenv.d
Added backtrace support for Solaris
(cherry picked from commit dcd51c8bffd6942b62a7a782e81a20b5e6420d40)

Conflicts:
	mak/MANIFEST
Added Solaris context functions
(cherry picked from commit 87914cfa15e1548afaf5cbe524151f2be0209688)
Fix declaration of mkstemp/mkstemp64 on Solaris.

Might also be required upstream.
Solaris updates for core.sys.posix.time.

timegm() is in the C library.
CLOCK_REALTIME is also available.
(cherry picked from commit 65cd8487a638e5aa7226ecdb0605da027628552a)
Fix declaration of seed48().

According to various sources, `seed48()` returns a pointer.
(cherry picked from commit 3dd2fcdde63402ff4cc1a32a1ce42ef4345a419c)
Change type of sockaddr_un.sun_path on Solaris.

Use `byte` as any other OS. This fixes a compiler error in std.socket.
(cherry picked from commit 198bc18641f691b06c0facaeaa130d57c339637b)
Add section support for Solaris.

Solaris requires special handling because the dl_phdr_info.dlpi_tls_modid field
is missing.
Improve ELF support for FreeBSD.
Disable Solaris implementation of thread priorities.

It always results in the exception: Unable to get scheduling class.
Add ELF headers for Solaris.

These are the headers which deal with the file format.
(cherry picked from commit d54d00a1650cfe14fb519b0f7477ee813080956e)
More Solaris additions.

Scanning through the sources I found some places where declarations for Solaris
are missing. This is not complete!
(cherry picked from commit f6b012b5f7ca155bdd818ee66bd87f8846553a58)

Conflicts:
	src/core/sys/posix/stdio.d