Wrote a proper localToParentCoordinates without the unscaled, unrotated restriction.

GroupTest is a test for it.
Merge remote-tracking branch 'origin/master'