Added pluggable template parser docs.
From the dev list, changed HTMLTemplateExpr to translate all dots in template
variables to underscores, since EXPR's don't do dots, just like TemplateToolkit.
The SQL table patch for userSessionScratch won't apply if the table contains
duplicate entries in the rows that will be set as keys. So the table is
emptied before the patch is applied.