Possible solution to issue #132 with test cases.

collapse group would merge transforms without respect for clipPath.