Added auto discovery of .git links for submodules

- The same methos witch is done for ste directories
- Added extra directory retrieval for nested directories

Comment:

Now .git as submodule link is working only for project with set dotGitDirectory (or default .git directory)
Now autodiscovery should work as witch normal .git directories.