Copy in sha1 code for now.  Later depend on externally
Implement first three states in packfile parser