Fix Lib/.gitattributes file
Refactor reference building
Introduce Repository.Refs.MergeHead
Teach Repository.Commit() to cleanup merge data
Teach Repository.Commit() to add merged branches as parents