Backport SVN commit 1047373 by zachmann:
o save layers of shapes that are part of a container
o use layer of child shapes to find out the layer of a group shape.
This is done as the group does not allow to save its layer in odf This fixes loading and saving of grouped shapes. Before the fix the group was always added to the default layer. Now the group is added to the layer it is was in when saving.
svn path=/branches/koffice/2.1/koffice/; revision=1048877