added sha1 implementation
file src repo performs hashing

The file-based SourceRepository now calculates file hashes when adding new
files to the repository.