Compile correctly on OSX
Report an error when db_auth_user fails.
Handle errors if wgetch returns ERR

This should prevent going into an infinite loop trying to read from the
user if they go away.
Fix warnings produced by clang.
Fixed warnings
Use NORETURN instead of __attribute__((noreturn))
Ignore nethack_server/nethack_server
Set WIZARD via CMake rather than hard-coding it.

This way, it's much easier to change the WIZARD definition for
development environments or forks.
Gitignore generated files.
Prevent warnings when compiling with -Wextra

Mostly changed signed/unsigned comparisons, also removed unused
arguments from functions.
do_naming: Fix uninitialised variable reference on menu escape.
Update credits in dat/history
Let the WIZARD option be set via aimake, as well as CMake

This avoids a compile error under aimake.
Fix warnings (and some errors they revealed)

In particular, before this fix, bad things would happen upon attempting to
reanimate a corpse left in bones (and possibly even when leaving the bones).
aimake: Add option to review memorized warnings
Revert "Ignore .so files."

This reverts commit c9104a5f0328d39f49472e02f05c34ea663802ca.

Upstream rejected this patch.
Merge remote-tracking branch 'nethack4/nicehack' into upstream

Conflicts:
	libnethack/src/allmain.c
Revert "Gitignore archive (.a) files."

This reverts commit 7930d1b4095c1f95869119264b980a1de627e12a.

Rejected by upstream.
Merge branch 'upstream'