Composer Autoloading

This updates the code to use composer's class autoloading, and at the same time installs all the currently required PEAR libraries using composer instead of PEAR install. 

Existing projects should run composer install --no-dev in order to generate the autoload file (even if they're still using the system PEAR libraries)