[FLINK-1026] Fix PojoComparator

Was not using the user code class loader and therefore could not clone
the serializer that is internally used.

Also modify KMeansForTest to make use of the PojoComparator to prevent
such bugs in the future.

Also fix PackagedProgramEndToEndITCase, AvroExternalJarProgramITCase and
the external jar file class loader tests in flink-clients. The pom was
not configured to remove the code that should only be in the external
jar from the test-classes directory.
[streaming] Forward connection type added to DataStream to support inmemory forwarding of tuples
[streaming] Iteration update to use proper partitioning and forward connection + DataStream refactor and Javadoc update
Merge branch 'master' of https://github.com/apache/incubator-flink into streaming-ready
[streaming] Enforced the ASF2 license in POMs