- add an option to specify # threads for hashing phase

- minor cleanup of populate_hash_tree

Signed-off-by: Mark Fasheh <mfasheh@suse.de>