Feature/autoload files corrected 1

Same as https://github.com/composer/composer/pull/2105, but with some corrections.
Having this as a separate PR allows to keep the junk out of the git history.

Corrections:
* Don't add a class PSR4ClassLoader, which does not belong here.
* Use require instead of require_once.