Fixed NodeTypeDefinition::fromXml + added a test for it
Converted the whole node instead of properties and nodeDefinitions
Merge pull request #203 from wjzijderveld/nodetypedefinition-fromxml

Fixed NodeTypeDefinition::fromXml + added a test for it