Attempt user/pass authentication for git repos not on github
Store http auth creds by domain only
Look for Auth failed anywhere in errorOutput
Capture user/pass from 'git remote' when updating non github repo
Fix for ordering problem during package removal resulting dangling symlinks, partially fixes #1675
Proposed fix for #1675
Remove code duplication, add support for searchUrl
Remove filterPackages and add RepositoryInterface::search, refactor all commands to use new methods and remove all usage of the full package list for Composer repositories that support providers, fixes #1646
Check that a repo has no providers when getPackages is called to catch any mis-use
Always install dev requirements when using the require command, fixes #1676
Make phar build fails more debuggable
Merge remote-tracking branch 'miklosm/iss1675.1'
Merge remote-tracking branch 'miklosm/iss1675.2'
Merge remote-tracking branch 'machee/gitUserPassNonGithub'

Conflicts:
	src/Composer/Downloader/GitDownloader.php
Handle stability changes correctly, fixes #877

On update, packages that are less stable than the minimum-stability allows will
now be downgraded to their correct versions, even if they were installed as
unstable already.
[GH-1591] More fixing of Installation on Windows Azure. Renaming between different partitions + xcopy fail, so we need to copyAndRemove() manually.
Fix authorization/authentication merge, fixes #1684
Avoid overwriting existing windows .bat proxies if they were provided by the package
Merge pull request #1681 from beberlei/GH-1591#2

[GH-1591] More fixing of Installation on Windows Azure. Renaming between...
Make sure the directory is empty even if weird inputs are given, fixes #1683