Fix some issues pinpointed by Code Analysis
posh-git-ify TreeChanges.DebuggerDisplay
Add RepositoryStatus & StatusEntry DebuggerDisplay
Update libgit2 binaries to 40a6051

https://github.com/libgit2/libgit2/compare/5f9f69d...40a6051