Configuration slots for substitution lists

Introduces new configuration keys for substitution lists to be used with
both note and template contexts.
Split text manipulation into simple/advanced

This introduces a sub-tab layout into the Text tab of the configuration
dialog for setting up the "advanced" text manipulation stuff.