Add repositories (packages.json) management using S3

Hi,

This sample of code implements possibility of fetch repositories packages.json using `s3://` scheme.

Need to wait https://github.com/composer/composer/pull/2434 to be merged.

Thanks,

Jérémy