Node::is, Node::isAnyOf, Node::isAllOf

Added these test methods to Node. No unit tests yet -- is there a specific spot I should add some?