Included "pinned" status in CompoundEditor serialisation.

To my mind this fixes #444, as Graffer can now define a default layout with pinning. We can then decide whether or not to pin the default layouts in Gaffer when we visit #472.
Merge pull request #493 from johnhaddon/savePinning

Included "pinned" status in CompoundEditor serialisation.