Fixed disqus_helper in mako templates

Page title is escaped safely with json.dumps(..) to support titles
containing quotes

I suppose the same should be fixed for jinja-based templates, but I'm not sure how to make it properly.