Repo commits

Added repo commits.
TODO:
- [x] Can you also add a cli tests that does the flow
- [x] Remove test TODO
- [ ] Test existing repo migration
- [ ] DictionaryThriftStorage store should return an Id, not a path
- [ ] Two increment functions, for either side of the Commit.
- [ ] Investigate if it should use the latest id, or the current one.
- [ ] Is it racing to write the commit?

Could `loadMigrate` be created in `Metadata`? If we decide to change dictionary formats in the future we wont need to change this line.