Allow setting of styles on empty Groups.

As required by upcoming import SVG fix.
Fix importing of SVG groups with styles applied to them.

Closes #149.