Backport branch 2.0.0 to fix issues inside phar
Add package.php to make build-phar work
Add symfony2 ruleset files to package list