add solution to #1454 to troubleshooting

The solution suggested by Seldaek helped to solve the issue.

https://github.com/composer/composer/issues/1454
Added option to only show available packages

Added the --available (-a) option to the show command to only list
the available packages, similar to the --installed and --platform
options.

Additionally changed the output formatting when limiting the
package result to remove the hierarchy when only one type is being
showed. This facilitates parsing of a list of packages (for example
for shell scripting and completion).
Added option to only show package names

Added the --name-only (-N) option to the show command to only list
package names (and exclude version and description).

This is useful to produce a list of package names to be parsed by
a shell script for example (bash completion comes to mind).
added type check to autoloader fixes #1504
Display SSL errors

`curl -s` not only hides the progress bar, it also hides errors. `-S` makes the errors show up again.
Add curl -sS everywhere
Merge remote-tracking branch 'igorw/patch-5'
Merge remote-tracking branch 'gerryvdm/master'

Conflicts:
	src/Composer/Command/ShowCommand.php
Show proper repo information and not always the default ones
Merge remote-tracking branch 'cmodijk/master'
Make sure target-dir plays well with classmap and files autoload, for root and deps, refs #1550
Clarify tilde operator docs
Merge remote-tracking branch 'pscheit/patch-1'
Rephrase package not found troubleshooting entry