added sha1hash sorting

Added sorting operators to sha1hash class. Minor additions to sha1 doc.
some doc changes

Changed documentation of the file-based repository classes.