Fix EZP-23392: Notice when using the REST API after upgrading Symfony to 2.5

JIRA: https://jira.ez.no/browse/EZP-23392

# Description

TemplateUriBundle 2.0 is compatible with Symfony 2.5, 1.0 is for Symfony 2.3.

ping @sunpietro