Updated twig extension: removed unnecessary service container, injected object router routing service, methods catch Symony2 routing exceptions and return null if there is no result, updated phpdoc annotations, formatted code style.
Update ObjectRouteExtensions.php

getObjectSlugUrl @return annotation fix.
Merge pull request #4 from egils/master

Twig extension update