Add psr-0 autoloading with target-dir to composer.json

This lifts the dependency on composer/installers and uses composer autoloading
directly.