tag tooltips: use hash url param if tag is not set
templates: use a variable to set maximum text len
history: add missing blob diff, but hide for folders history (addon)

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Util: fix BaseName extension, it is not used for that...