[PATCH] Make rescan run in parallel

Patch from Saggi Mizrahi:

This fixes a problem where a host which is inaccessible would block the
scan of other hosts in the system.

[compilation and minor cosmetic fixes by Mike Christie]
Signed-off-by: Saggi Mizrahi <smizrahi@redhat.com>