Remote collector output format

This is a proposal for https://issues.apache.org/jira/browse/FLINK-1038
Maybe its easier here to just catch Throwable here?
In addition, its very important to handle exceptions properly. In this case I would suggest to rethrow them as runtime exceptions.
If you just write the stacktrace to stdout, users might not be able to find out it (the message is missing).