Add support for --optimize-autoloader.

This is a big runtime speed improvement for many projects.