Add methods hashSha1 and hashSha1BS

needed by OP_SHA1 in script evaluation

hash functions might need a rename in order to be more consistent
Merge pull request #35 from OttoAllmendinger/sha1

Add methods hashSha1 and hashSha1BS