#230 Executor fails to connect with AppMaster

Two changes:
1. We will enforce executor will use same hostname as worker.
2. When executor is launched but doesn't register back in time, we will TIMEOUT, so that we can clean the resources.

Will rebase the PR after #229 get in