wip add an assert for non-existent templates

This is a work in progress, but it fails many tests that don't have a template/view.

Refs #2949

I'm not sure an assert is the right answer here. Not rendering anything (e.g. putting in a "blank" template) may be expected behavior. Perhaps just always warning in the console is more appropriate?

I know there will be failing tests for this one.