layergroup 2.3 support follow up, refs #47

The original work done in e6ccae4 did not address writing and
testLayerGroupSave was broken as a result.
Merge pull request #56 from ischneider/layergroup-follow-up

layergroup 2.3 support follow up, refs #47