Fix Undefined behavior

An array subscript is out of range (C99p6.5.6).
Fix minor annoyances.
Reorganize ocen_przedmiot().
Merge pull request #10 from 1500100900/master

Fix undefined behavior and minor annoyances
Migracja dwóch przydatnych katalogów ze starego repo:
1. Używane przeze mnie makra dla autoconfa.
2. Programik lpl wspomagający edycję krain dowolnym edytorem tekstowym.
Dla FreeBSD: szukanie backtrace_symbols() w -lexecinfo.
Fix Undefined behavior

An array subscript is out of range (C99p6.5.6).
Fix minor annoyances.
Reorganize ocen_przedmiot().
Minor fixes.
Fix function types.
Move HTML_FUN declarations from merc.h to httpd.c.
Move GAME_FUN declarations from merc.h to gry.c.
Taking care of symbols defined in special.c
Taking care of symbols defined in palad.c
Taking care of symbols defined in necro.c
Taking care of symbols defined in qmagic.c
Taking care of symbols defined in magic.c
Taking care of symbols defined in act_wiz.c
Taking care of symbols defined in act_info.c