Unit test for bug #1090: PearPackageScanner and baseinstalldir

Followup of pull request #271.
Add support for <install as=""/> in pear package files.
Do not run test on 5.2
Merge pull request #278 from cweiske/pearinstallas

Add support for <install as=""/> in pear package files.