Enable scaling of groups.

By calling setScaleCenter the center of the scaling operation is set.
setScalePoints() defines the points which trigger a scale operation.
Prevent division by zero in group.js