Composer integration

Here's the initial Composer support integration. You'll have to publish the package to Packagist for it to be usable. I updated the package.xml for PEAR but I haven't tried if it actually works. I'd scratch PEAR support altogether since it's kind of deprecated nowadays, but that's up to you. If so the README could be cleaned up a bit more.