svg: reduce unneeded calculates

There is no gruoping in objects, so we do recalculate in each of them.

Added grouping element and calculating it position only.
Merge pull request #18 from gurugray/grouping

svg: reduce unneeded calculates