fixed issue with route being converted as_const by jinja2 engine, e.g. causing issues with different urls

Different domains and sub domains caused issues with urls being converted to consts in bytecodecache. Using @contextfilter prevents  jinja2 from evaluating the url filters as consts.