Added support for Sensio Generator 2.2 (to not break support for Symfony 2.2 projects)

Added unit tests
Merge pull request #1572 from pulzarraider/support_sensio_generator_2_2

Added support for Sensio Generator 2.2 (to not break support for Symfony 2.2 projects