#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

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/intel-hadoop/gearpump/232)
<!-- Reviewable:end -->