fixed validator for symfony 2.3
Merge pull request #71 from digitalkaoz/2.3_validation

fixed validator for symfony 2.3