Improve cybozu::hash_map implementation.

hash_map now uses a intrusive forward list of pointers
instead of std::vector for better performance.  This also
fixes a memory corruption bug along with server-side locking.