Branch detetion no longer relies on git.exe beeing on the path
BranchDetector now use the solution dir as base. Also added some unit
tests