hgweb: break templater -> templater circular reference
The problem were some functions passed in the "defaults" argument
during the templater creation which use "self.t" directly. This
creates the cycle:
hgweb object
-> templater object
-> defaults dict
-> footer function
-> hgweb object
Instead of completely avoding the cycle, we break it after using
the templater.
#header#
<title>#repo|escape#: #file|escape# history</title>
<description>#file|escape# revision history</description>
#entries%filelogentry#
</channel>
</rss>