Added "pre-autoload-dump" event.

This event is fired before the autoload file is generated, for either
an install or update command.
Merge pull request #1871 from taylorotwell/master

Added "pre-autoload-dump" event.