Check HAVE_STDINT_H before trying to include <stdint.h>.

Partial fix for compilation on some Solaris versions.  Fixes #175.

Submitted by:	@marksolaris
Portability fixes for Solaris Sun Studio and MacOS.

Only do -Wall by default if on GCC (or something that looks like
GCC, such as clang/llvm).

Turn on -Werror so we can get some better error-checking, but
we also need -Wno-deprecated-declarations at least for MacOS,
because daemon(3) is deprecated starting with MacOS 10.5.

Fixes #174 (I think).

Submitted by:	@marksolaris
Regen.
Another try at portability.  Don't do -Werror.  While probably
the best thing to do from a code hygeine standpoint, it's too
painful to try to get right for now.

Fixes #174 (second try).
Regen.
Programs using definitions from iperf_config.h (in particular
HAVE_STDINT_H) need to include that header.

Aftermath of #174.
First step:  Generate all the JSON goop regardless of --json or not.
Client and server exchange full results if --get-remote-results flag is set.

The form of these results is essentially the JSON that's sent if
the --json flag is sent.  We don't exchange these by default because
they can be a fairly significant amount of data for long-running
tests or over slow links (several KB for even a default 10-second test).
Merge branch 'feature/server-stats' of github.com:/esnet/iperf into feature/server-stats