The goal is to get to closer to removing `NOD_static_types.h` and to define all/most aspects of a node in the node file itself instead. Data defined in node files is not available when rna structs are created currently, because that happens in a preprocessing step. This patch moves part of what was defined in `rna_nodetree.cc` to `node.cc` which makes it easier to replace when `NOD_static_types.h` is removed. Pull Request: https://projects.blender.org/blender/blender/pulls/110824