Apply sonata_urlsafeid to templates

Apply new twig filter ``sonata_urlsafeid`` to templates.

Related to https://github.com/sonata-project/SonataAdminBundle/pull/1178