Added basic validation for node type properties. This is a step towards
ensuring that invalid properties are rejected.

https://www.pivotaltracker.com/story/show/54250518