YARN-1713. Use a thread pool for launching executors.

This patch copies the approach used in the MapReduce application master for launching containers.