Add plumbing.Repository.Path method for retrieving repo path
Move object-related methods in plumbing.Repository into a separate file
Add format.Ref
Add format.PackedRefs
Introduce plumbing.Repository methods for resolving refs