Add the package license for PEAR packages

Refs https://github.com/composer/satis/issues/192
Fix tests for the pear repository
[Minor] remove the unused private variables
Merge pull request #3596 from SofHad/unused-variables

[Minor] remove the unused private variables
Merge pull request #3562 from stof/patch-1

Add the package license for PEAR packages