Create phantom/shield nodes with methods not templates

Templates have the following problems:
* Static, so don't have access to this.*, hence the
  importNode hack.
* Run on file node, so potential load order issues
  with things like ve.msg.

Change-Id: Ia7f6a2b7ac10b111bcd7245aa96c8ec9bfb183fb
Merge "Create phantom/shield nodes with methods not templates"