Same logic as what was done in 3D, applied to 2D center of mass. Also did some minor cleanup in 3D and fixed center of mass transform during the first frame after teleporting a dynamic body.
Also moved MT physics server wrappers to the main servers folder, since they don't have to be implementation specific.