[FLINK-1325] [Java API] Add Java ClosureCleaner

This closes #269
[FLINK-1325] [Java API] Minor cleanups on the ClosureCleaner