updated LayerGroup reader to support GeoServer 2.3.x
added LayerGroup encoder for GeoServer 2.2 and GeoServer 2.3
Merge pull request #53 from svzdvd/nestedlayergroups

LayerGroups management for GeoServer 2.2 and 2.3
fixed LayerGroup Encoder tests