[FLINK-938] Auomatically configure the jobmanager address

This PR is an alternativ approach to #48 without touching the config file.  Once this is merged, I'll close #48
same here, see above.