Use etcd compare and swap to update the list of pods, to remove a race.
Merge pull request #265 from brendandburns/cas

Use etcd compare and swap to update the list of pods, to remove a race.
Generic atomic update code
Cleanup to use AtomicUpdate.