Port the package.xml creation script to Symfony Console

Resolves: #1