SERVER-4042 convert HashTable::iterAll to use stdx::bind instead of function callback

Signed-off-by: Benety Goh <benety@mongodb.com>