Add AllocationStrategy to make sure allocation on unique nodes.
Add timeout to application master.

Signed-off-by: Shanyu Zhao <shzhao@microsoft.com>