[FLINK-1170] Fix faulty input split localization

Pass hostname to split assigner
Avoid clashes by only using the first component of the fully qualified hostname
I would add some null checks here. Input Splits are user generated an can contained arbitrary nonsense in general