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

make sure to use TemplateUriBundle 2.0 when needed
Merge pull request #189 from ezsystems/ezp-23392_notice_sf_25

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