GH-381: Fix serialization errors when using new CMS implementation in Storm

See GH-381.

This PR makes a few CMS helper classes extend `java.io.Serializable`, thus fixing the serialization errors reported by Storm.