update entity deprecation states, replace more names with defines and document categories better
fix sort order in class spawn table