Replicate repository options on packages so that dist files can be downloaded on private repositories secured by SSL

When using a SSL secured composer repository and the dist files are under the same host, composer is not able to dowload the dist files because the connection context is not passed to FileDownloader.

This patch makes Composer Repository replicates its connection options into every package that have dist files with the exactly same base url (dumps and loads that configuration from composer.lock too).