Allow for slightly better templates.

It's now possible to use full strings containing template markup, like
"{{foo}}: {{bar}}".
Bonus: more readable regexes.