Twig extension update

Updated twig extension: 
- removed unnecessary service container
- injected object router routing service 
- added catch statements for Symfony2 routing exceptions
- methods now return null if there is no valid result
- updated phpdoc annotations
- formatted code style