Fix #1034 - Recursively flatten css style when copying
When copying a group of objects, it's important that we flatten the css style. This was already done for the main object, but not for it's children.
This adds the needed recursion during copying.
Fixes #1034 (closed)
From the sample svg given in the bug report: