[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.
It could be that only one field of the pattern is allowed. Just to be on the safe side, I'm changing it to check all fields of the pattern "this$*".