[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
[streaming] Enforced the ASF2 license in POMs
[streaming] added writeAsText and Csv
[streaming] Package refactor & cleanup
Merge branch 'master' of https://github.com/apache/incubator-flink into streaming-ready
[streaming] Added exceptions
[streaming] Javadoc update for some core classes
[streaming] Added support for same outputname for multiple tasks + proper iteration edge naming
Merge branch 'streaming-new' of https://github.com/mbalassi/incubator-flink into streaming-new
[streaming] Fixed filter
[streaming] Serialization rework to reuse objects
[streaming] Fixed StreamCollectorTest
[streaming] Added mutability switch for operators + cleanup
Merge branch 'streaming-new' of https://github.com/mbalassi/incubator-flink into streaming-new
[FLINK-1031] Fix POM files to support Eclipse
[streaming] API javadoc + StreamRecordSerializer update
Merge remote-tracking branch 'upstream/master' into streaming-new
Update LICENSE and NOTICE files

[ci skip]