Do not importNode when unnecessary
Fixed empty directive updating (using a placeholder comment node)
Groundwork for having tests pass on IE8