set a unique index on the node type name, implement updating
Merge pull request #97 from jackalope/fix_node_type_updating

set a unique index on the node type name, implement updating