Fixes the calculation of the transform origin in multi-object editmode.
Takes all selected parts into account, not only parts of the active object.
For now it the implementation is only for Mesh edit mode, to check if code style and implementation is all right.
