Modified BulkRebuildIndexCommand to be even more strict when dealing with "foreign" nodes
like spatial index nodes etc. Modified CreateNodeCommand to set the type first b/c the
type is needed in setOwner, modified NodeFactory to NOT trying to set a type property on
instantiation.