added variable 'isodate' for substitution in headers/footers

This is in addition to the locale-dependent 'date' variable, as
the server system locale where wkhtmltopdf is launched is not always
a good default choice. Closes #1772