Feature/autoload generator helper 2

AutoloadGenerator currently has some "problems" with code quality:
- The dump() method is very long.
- All methods have a crazy number of parameters.

After https://github.com/composer/composer/pull/2142, this is a second attempt to improve the situation.
It builds on the first attempt, but also splits up the generation of autoload_real.php.