Add __slots__ to Serializable base class

Previously all those __slots__ definitions were useless because the base
class added a dict to the instances.