Added the parent[Node|Element] to element.xtag. During lifecycle.removed the previous parent is available via this.xtag.parent[Node|Element]. Also added test for this.