Split thread pool logic into separate class.
Callbacks are embedded in the task class.
Removed old comment.
Added class for 2d table of thread_id, domain_id.
Added Queue scheduler class.
Unit tests for new classes.
Removed dead code.
Added more unit tests for nh_table.
Moved nh_table tests to their own file.
Added more qs tests.