More index manipulation

A couple of additional methods for creating and manipulating indexes more usefully (e.g., for making commits).

**To do:**

 - [x] Add wrapper for `git_index_read_tree`