Adding hook to override Kernel.sleep behavior

* monkey-patch for Kernel.sleep
* hook method EM::Synchrony.on_sleep
* Test cases for override