#66994Composer autoload path detection is a bit too restricture
Description
Problem: the current resolving of autoloading paths relies on two hardcoded paths which completely break if any segment of the path involved is a symlink.
Example: typo3_src in DOCUMENT_ROOT is symlink to other folder. Autoloader file resolving attempts to load file using a bizarro ../../../../../…… path.
Suggested fix: allow configuring this as an ENV variable.