Refactoring tasks pool allocation. Instead of single allocation
task pool is now segmented into slabs

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>