Add zip partitions to Java API

Note that this change only adds support for zipping 2 partitions to the Java API. Supporting the 3 and 4 argument case requires more glue code (Function3, WrappedFunction3 etc.) and IMHO we can postpone that till we have use cases.