Added direct access to request cookies for jinja2 templates
Added cache
Fixed serious bug with wrong order in text links
Revert "Added direct access to request cookies for jinja2 templates"

This reverts commit 96572e776b5e68b90d9a902e8f7116387a61165c.