Windows installation guide

Downloading via file_get_contents & creation of BAT file
Add sub-headlines to Repositories chapter
Troubleshooting ... some lessons learnt
Add troubleshooting URL to error message
Add support for alternative structures
Made repoConfig available for the VcsDriver to be able to provide additional configuration options easily.
Fixed tests
added --prefer-dist option
compare references when using dists
better exception message
added test case
ComposerAutoloaderInitXXX::getLoader behaves like a ClassLoader singleton

Calling ComposerAutoloaderInit::getLoader twice when a package requires a .php file containing functions, lead to the functions to be declared twice, and cause an error.

In my case, using behat + symfony2extension + assetic, the error that occured:

PHP Fatal error:  Cannot redeclare assetic_init() (previously declared in vendor/kriswallsmith/assetic/src/functions.php:20) in /vendor/kriswallsmith/assetic/src/functions.php on line 26

Fatal error: Cannot redeclare assetic_init() (previously declared in /vendor/kriswallsmith/assetic/src/functions.php:20) in /vendor/kriswallsmith/assetic/src/functions.php on line 26
Fix typo
Merge remote-tracking branch 'TheFootballSocialClub/loader-singleton'
Fix possible vendor-dir "evasion" via target-dir
Add a couple test cases
Fix target-dir with multiple slashes too
Added support for the root package in the array dumper
Merge pull request #1128 from hason/dumper

Added support for the root package in the array dumper
Add support for local urls and better error reporting to HgDriver