Implemented basic #init_bare method.
Fixed issue with parents in Index#commit.