implements sleepWhenIdle in queue
queue->setSleepWhenIdle from options[sleep_when_idle]
adds tests
cs
review feedback
Merge pull request #27 from basz/issues/18-sleep-while-jobless

Issues/18 sleep while jobless