add compatibility to symfony 2.2
fix composer.json configuration
Merge pull request #3 from dayax/develop

add compatibility to symfony 2.2