[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.