Use class parameter in validator service

Use the class parameter in the 'validator' service, because will change in runtime

https://github.com/symfony/symfony/blob/master/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php#L755