files: add support for log-like template keywords and functions
Note that the ctx does not point to the revision where the file was
last changed, but the revision specified by -rREV option.
#require docutils gettext $ $TESTDIR/check-gendoc zh_TW checking for parse errors