Added support for <g> elements in svg. Support for adding rect, ellipse, circle, text, image, g, etc. inside <g>