hacks to get index entry type to pass tests
add entry and getentry now pass initial tests
implement iterable interface for index
add getindex path for git index
add write index test