Fixed the thread-safety of process::ID::generate.

Review: https://reviews.apache.org/r/15628
Fixed MESOS-243: Made ExecutorDriver.join() wait for outstanding requests.

Review: https://reviews.apache.org/r/15597