added YARD to copy on notify observer set
made CountDownLatch safe wrt spurious wake ups
Added CodeClimate badge to the README.
Remove debugging code.
Agent refactor

- replaced Observable module with CopyOnWriteObserverSet
- small internal refactor
- test refactor
Improve code climate of MVar.