Fix db.c with PACKAGE_ASYNC. (mactorg@lpmuds.net)
Rewrite apply_low(), fix cache poison issue.
picked wrong commit
Revert "Rewrite apply_low(), fix cache poison issue."

This reverts commit 4c13478ede3921cf07386866ef9fa78e9ea7e86e.
Issue #54 - fix incorrect sha1() hashes

sha1() now works correctly on strings 8192 bytes and longer
sha1() now works correctly on strings 55 bytes long
Enabled PACKAGE_SHA1 in local_options.test and added unit tests
Include #ifndef routine in auto generated header.
Also fixed various compile problem on CYGWIN.

Conflicts:
	src/efuns_port.c
	src/eval.h
	src/posix_timers.c
	src/testsuite/single/tests/compiler/64bit.c
fix compiling after merge