[FLINK-19001] Make FunctionType serializable

FunctionType is a very simple value type, that is now also
used by the data-stream api bridge (requires java serialization)
2 files changed