Terminal: add explicit handling of sgr0 + sgr seq

sgr0 is currently implemented as a wrapper of sgr(0) which
seems to work fine.

For now we accept but ignore certain sgr sequences like for
example [0;10;1m which is generated by lynx even when using
TERM=linux (I am not sure yet if that's actually valid at all).
Terminal: cleanup terminal colors

Though the initial commit contains nicer looking color definitions
it is easier to spot wrong colors when using a program that uses
ncurses like for example lynx.
libports: add symlink from ncurses.h to curses.h

Serveral programms want to include ncurses.h rather than curses.h.
To keep them happy, we add simply add a symlink.
Noux: fix sendto(), set args before each syscall

Set addrlen and dest_addr explicitly before each system call.
Noux: fix send(), set fd before each syscall

The fd has to be set before each syscall.
Noux: fix missing mode propagation

When opening a new file, a new Fs_vfs_handle is created but with the
initial mode set to 0 which is not expected by functions like fdopen()
that check if the original flags given to the open() call match the
returned ones on the used fd.
Noux: add recvfrom()

Add SYSTEMCALL_RECVFROM to noux/net and the corresponding libc function.
libports: fix openssl issues and update to 1.0.1c

libcrypto provides certain optimized assembler functions which
unfortunatly are non-pic. Therefore this asm code is removed
and libcrypto is build with -DOPENSSL_NO_ASM.
Because the asm code is not needed anymore, its generation is
also removed from openssl.mk.

import-libssl.mk was also added because it is essential for building
programs which depend on libssl.
libports: lwip change SOL_SOCKET definition

Our FreeBSD libc based libc defines SOL_SOCKET as 0xffff. We change
lwip's definition from 0xfff to match ours. This prevents us from
converting the level when we call {g,s}etsockopt.
Noux: add noux-pkg/etc

This package provides files in /etc which are needed for domain
resolving etc. pp.
Noux: add noux-pkg/lynx

Explanation why --disable-rpath-hack is needed:

When building on pistachio_x86 $(LDFLAGS) contains '-L[...]/l4/lib'
which will be transformed by autoconf to '-rpath [...]/l4/lib'.
Now the problem at hand is that we pretend to be FreeBSD when we are
actually not. So autoconf assumes it is valid to use '-path'  when it
is actually not.

Also we use zlib for (de)compressing gzipped streams/files instead of
calling gzip as this currently somewhat buggy.
Noux: add noux-pkg/gzip

This is actually the GNU gzip.
Noux: add noux-pkg/less
Noux: rename noux-pkg/gnu-netcat

The other GNU based packages do not have a gnu- prefix either.
libports: use libc's rpc framework

Certain rpc headers are needed for compiling getaddrinfo.c. Unfortunatly
that means we have to generate _a few_ header files which we do when we
prepare the libc.

These header files need to be created before the symlinks. Also, some of
these header files depend on a patch. Therefore we apply the patches
first, generate the header files and in the end we create the symlinks.
libports: use libc's getaddrinfo() implementation

Since we are using the libc's *addrinfo() anyway, we comment the plugin
calls out.
Noux: use counter for gettimeofday()

There certain issues which currently prevent us from writing proper
implementations for time related functions. For now we provide a simple
counter instead to make programms like ping(1) happy.
Noux: add F_GETFL handling to terminal_io_channel

There are certain programms which check if an fd is open by calling
fcntl(fd, F_GETFL, ...). So to keep them happy we return true if
such an request was done to our terminal fd's.
Noux: add FIONBIO handling support to libc_noux
Noux: add F_SETFL to libc_noux's fcntl()

Among other things it is used to set non-blocking mode, so we should
support it (e.g. fcntl(d, F_SETFL, fl | O_NONBLOCK)).