Fixed formatting of the Date header in generated mail to be RFC-2822 compliant, per the report by Schelte Bron.
Fix a missing command import.
Fixed missing de-armoring of wiki page titles.
Merge latest trunk fixes
Fix scoping bug.