FindTfsParentCommits : Improve performance

- Remove recursivity
- Don't process the same commit (and ancestors) two times

Fix case where git-tfs take too much time, CPU
 and memory in a none "git-tfs repository" with a lot of commits
Compile Regex