add reader.NodeType
Merge pull request #1 from jkeedhoo/master

add reader.NodeType