util: Implement a Doug Lea-style concurrent hash table.

This will be used for leaf sets and interned strings.

r? @larsbergstrom