TACHYON-145 Fix the mismatch to resolve local hostname for TachyonWorker

This PR contains 2 commits:

TACHYON-145 Fix the mismatch to resolve local hostname for TachyonWorker
[TACHYON-16, 19] Complete missing fixes for support of using fully qualified name
code in 'restart_worker' should be modified too.