[FLINK-1325] Add Java ClosureCleaner

This also adds the ExecutionConfig, where the user can enable/disable the closure cleaner and other settings. I'm also planning to use this for the object-reuse settings in the future.
That is probably okay for now, but for objects with large closures, we are doing significant double work...