Part5: 
Tested with Part4 Test, it Ran OK. Did not break the code.

Added function for sleep support.
Changed dccthread_t to hold information about the remaining sleep time.
The sleep manager looks in the thread list for the thread with the minimal remaining sleep time and set a timer to trigger with that interval using siignal SIGUSR1. Changing the threadList to a Thread Heap would be better.
Merge pull request #2 from rbkloss/Part_4

Part5: