add nodeType

this sets nodeType and nodeName on text nodes and elements.
which means hyperscript does not need to rely on instanceof,
this is a much better approach in node, where instanceof can be problematic
due to the way that node modules work.