Deprecated method used

This method "getDefaultOptions" is deprecated on Symfony 2.3. And the new one "setDefaultOptions" need to be used with "setDefaults" Method from the resolver parameter.
Merge pull request #354 from yvalentin/patch-1

Deprecated method used