[FLINK-1046] Made sure that Client uses correct user-code class loaders.
initial commit of RemoteCollectorOutputFormat, see issue https://issues.apache.org/jira/browse/FLINK-1038
refactored RemoteCollectorOutputFormat and added some JavaDoc
minor refactorings in RemoteColllectorOutputFormat