Add 'add_active_path' twig function in navigation extension