Add preFileDownload event on packages.json fetch

Hi,

In order to extend @naderman's work on pluggin system, this add a `PreFileDownloadEvent` dispatch when composer fetch packages.json (For ComposerRepository class).

It's usefull for us, because we need to fetch it using `s3://` scheme.

Thanks,

Jérémy