unified test for whether or not a node can be added to the main document. Helps address https://github.com/Polymer/polymer/issues/155.