Improved package sorting
Coding style compliance
[tests] Unit tests for JsonValidationException class
[Archiver] Rules in GitExcludeFilter are too broad
[Archiver] comment for a confusing line
* added svn handling for tags, trunk, branches in root packages
Merge remote-tracking branch 'olvlvl/improved_package_sorting_alone'
Fix mode and add docblock, refs #2644
Fixed handling of Metapackages in DownloadManager.

The "getDownloaderForInstalledPackage" returns null for "metapackage" and the download(), update() and remove() methods did not handle this return value correctly.
dedicated scope isolation function for autoload_real
Merge pull request #2673 from nicolas-grekas/master

dedicated scope isolation function for autoload_real
Fix doc note
Merge pull request #2649 from zczapran/bugfix/git_exclude_filter_rules_too_broad

[Archiver] Rules in GitExcludeFilter are too broad
Merge pull request #2648 from zczapran/unit_tests_for_jsonvalidationexception

[tests] Unit tests for JsonValidationException class
Reformat code to follow coding style
Merge branch 'svn-root-detection'

* svn-root-detection:
  Reformat code to follow coding style
  * added svn handling for tags, trunk, branches in root packages
* fixed svn tag directory handling
Merge pull request #2681 from trivago/svn_fix

fixed svn tags directory handling
Adding ssh protocol support to github-protocols.
add allowing require to update dep chain, fixes composer/composer#2668