Show proper error message when a git bitbucket repo is loaded as hg repo, refs composer/packagist#294
Update the way github authorization is handled, fixes #1632

Since api.github.com redirects to s3 for downloads and s3 does not like Authorization
headers, we have to rely on the access_token query param. Otherwise php follows redirects
but still sends the Authorization header to all following requests.
Add lib-ICU platform package
Fixed the "access_token query param" (5b1f314) fix
Extract archives into temp dir to shorten paths and avoid issues on windows, fixes #1591
Only downgrade providers but not the notification url
Merge pull request #1625 from jappie/master

Fixed the "access_token query param" (5b1f314) fix
Use the api to get file contents instead of raw.github.com

raw.github does not like the access_token query param
Guard against arrays being passed to is_file, fixes #1627
A bug in PHP prevents the headers from correctly beeing sent when a content-type header is present and
NOT at the end of the array

https://bugs.php.net/bug.php?id=61548

This updates fixes the array by moving the content-type header to the end
Merge remote-tracking branch 'tacker/private-repos-failing-with-invalid-credentials'
Fix cs
Clean up archive downloader, fixes #1630
Clone on travis to avoid ssl issues on 5.3, disallow failures for 5.5 now that its updated