Disallow template instances when !parentNode || !owner.defaultView

R=arv@chromium.org
BUG=

Review URL: https://codereview.appspot.com/9402043