Add twig function to generate url for given page.

Added a function to the Twig extension which generates the url to a given page, using the same route generator as the one passed to the views.