hgmerge: add and use more tool variables
This patch adds even more customisable variables with tool paths.
Also moves $FILEMERGE where it belongs.
<item>
<title>#desc|strip|firstline|strip|escape#</title>
<link>#url#?f=#filenode|short#;file=#file|urlescape#</link>
<description><![CDATA[#desc|strip|escape|addbreaks#]]></description>
<author>#author|obfuscate#</author>
<pubDate>#date|rfc822date#</pubDate>>
</item>