Some GitModule methods fixed with invalid repository. Closes #1667
GitModule finalizer now Dispose LibGit2Sharp.Repository. Refs #1429