Fix ValidatorParser in symfony 2.5

Fixes #373
Merge pull request #375 from merk/2.5-fix

Fix ValidatorParser in symfony 2.5