Fixed compatibility with projects using Symfony 2.6+

OptionsResolverInterface is deprecated since Symfony 2.6 and will be removed in Symfony 3.0.
Replaced with suggested OptionsResolver