[BUGFIX] Fix composer manifest loading and unit tests
This change fixes 2 tests in PackageTest that failed when run from
a package directory, because the $package->getComposerManifest()
method did pick up the relative composer.json file inside that.
Additionally some minor CGL cleanups in PackageTest.