[TASK] Improving PackageManager mocking

This change comes with a base UnitTestCase for ext:beautyofcode.
It introduces a central point for mocking the PackageManager. This
is necessary to run Unit Tests without a running TYPO3 instance.