#84 - master - support encoding of multiple styles + tests

Note: i've added a GSLayerEncoderTest, missing until now.
Looking forward to your feedback