Ragdoll cannot assume skeleton's rootIndex is 0

some Models have extra "joints" not part of the normal skeleton
Add Avatar submenu to main menu for non-debug stuff
remove unused JointState::setRotation() method
Merge pull request #3300 from AndrewMeadows/ragdoll

Fix for Models with rootIndex != 0