Remove unsafe and atomic stuffs. Replaced by mutex lock.
Merge branch 'pure' of github.com:mesos/mesos-go into pure