Initial support for index files

Reading and writing works, which means that the usual git command will now work on a freshly repository cloned by ogit.

Limitations: support only version 2 (which seems to be the most used version anyway) and no support for extended index (seems not to be very used anyway).