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