Added function to check if a cycle is started.
Cleanup. Hook USR2 signal on nREPL creation.
Moved ring related stuff to a dedicated ns.