Made Entity.to_dict() method which inspects self.__dict__. This reduces some need to create to_dict() methods on subclasses.
Added EncodedCDATA class
Added support for Test Mechanisms. Added Snort Test Mechanism extension