Add template partials support to View

This makes template inheritance possible and template reusability
easier. See Overlay.js and EditorOverlay.js for an example.

Change-Id: Ic36ec557cf9cc24f785a9a04642fccc7ab383936
Merge "Add template partials support to View"