Add support for installation using the PEAR Installer (and cleanups)