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
Merge pull request #55 from Voltara/issue54_sha1_wrong_hashes

Fix #53 sha1() hash issue, validated through NIST test cases.
Include #ifndef routine in auto generated header.
Also fixed various compile problem on CYGWIN.