Support templates for Blaze Functions and typesets.
Add test_template example.