Add composer.json and support Symfony 2.2.