The source project of this merge request has been removed.
[BUGFIX] Fix compatibility with TYPO3 8.7
The Environment class exists only since TYPO3 9, so we must introduce some boilerplate code while TYPO3 8.7 is supported
Also, this commit fixes some misusages of PATH_site where paths were already absolutes.
Fixes: #30