Feature/custom serializers

Make it easy to provide custom serializers/deserializers for event data. Default to YAML.

Uses the same kind of configuration pattern as PR #17, but brakes it out to a separate file.

See readme for usage.