hashtable: replaced by htable.
typesafe_cb, hashtable: revise typesafe_cb arg order, neaten. hashtable: make traverse callback typesafe.
Hashtable routines.