update to work with symfony 2.2 and later
Merge pull request #8 from liip/symfony-2.2

update to work with symfony 2.2 and later