[Version Control] First part of upgrading Unit Tests
[Version Control] Refactor VCS Util functions.
[Version Control] Use the new refactored functions.
[Version Control] Unit Tests refactor and addition:

Refactor logic of functions. Use more Util functions.
Fixed issue with clean repository not adding ignored files.
Fixed issue with .gitignore not existing when reading.
[Version Control] Unit Tests - Refactoring.

Refactored RightRepositoryDetection.
Removed virtual property from tests which work in all cases.
[Version Control] Implemented one more test.
Fixed Unix UnitTests.