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
Search only in name
Merge pull request #1102 from fortrabbit/frbit-namesearch

Search only in name
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
Update lock file to contain the complete package info, fixes #890
Merge pull request #1108 from Seldaek/newlock

Update lock file to contain the complete package info, fixes #890
Use only the locked repository when possible for better performance
Rename method
Merge pull request #1109 from Seldaek/newlock

Use only the locked repository when possible for better performance
Added --working-dir to definition.