Use ccnet_processor_thread_create() in threaded rpc processor.

Using job manager directly has threading race condition.
Refactor ccnet_processor_done() and shutdown() logic.