Update composer.json for Symfony 2.3

My first pull request on github :)
I updated composer.json to work with Symfony version 2.3.*.
I also fixed form handling and method parameters.