PSR-4: ClassLoader + AutoloadGenerator + tests

Here we go!

This time without any refactoring in AutoloadGenerator or AutoloadGeneratorTests. This is still a mess!

Based on a rebase of https://github.com/composer/composer/pull/2295, which was a follow-up to https://github.com/composer/composer/pull/2121