fix(view): template is properly rendered with model or collection

Previously it was just trying to attach model and would error our when
attaching a template to a view that just had a collection attached.
Also adjust child rendering to use cached elements when available.