handlebars: nest related tests into sub-sections
Fix handling of <button is=...> tags in templates.
Fixes #249.