template functions

this allows passing compiled template functions and evaluates them with the `model` to generate the template string for `domify`. because in a project you may have different kinds of templates, and compiled template functions are common, this saves a repeating conditional and allows to blindly do `view(require('./template'))`